mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 16:52:27 +00:00
Cleanup
This commit is contained in:
parent
2579e32c2b
commit
63e10b4d28
@ -218,11 +218,10 @@ void killUser(uid_t uid);
|
||||
pid to the caller. */
|
||||
struct ProcessOptions
|
||||
{
|
||||
string errorPrefix;
|
||||
bool dieWithParent;
|
||||
bool runExitHandlers;
|
||||
bool allowVfork;
|
||||
ProcessOptions() : errorPrefix("error: "), dieWithParent(true), runExitHandlers(false), allowVfork(true) { };
|
||||
string errorPrefix = "error: ";
|
||||
bool dieWithParent = true;
|
||||
bool runExitHandlers = false;
|
||||
bool allowVfork = true;
|
||||
};
|
||||
|
||||
pid_t startProcess(std::function<void()> fun, const ProcessOptions & options = ProcessOptions());
|
||||
|
Loading…
Reference in New Issue
Block a user