mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
parent
5597d68e2d
commit
f094ba7386
5 changed files with 69 additions and 48 deletions
|
@ -301,6 +301,7 @@ struct ProcessOptions
|
|||
bool dieWithParent = true;
|
||||
bool runExitHandlers = false;
|
||||
bool allowVfork = false;
|
||||
int cloneFlags = 0; // use clone() with the specified flags (Linux only)
|
||||
};
|
||||
|
||||
pid_t startProcess(std::function<void()> fun, const ProcessOptions & options = ProcessOptions());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue