DavidSpickett wrote: I would also check how std::system handles environment variables and paths. Perhaps the way /usr/sbin is added during a normal terminal session doesn't carry through. https://github.com/llvm/llvm-project/pull/85619