feat(Process): Add options to disable STDIO in child process #3867

This commit is contained in:
Alex Fabijanic
2023-01-23 12:23:03 +01:00
parent feee864950
commit 4ceb731bba
9 changed files with 94 additions and 28 deletions

View File

@@ -62,7 +62,8 @@ public:
Pipe* inPipe,
Pipe* outPipe,
Pipe* errPipe,
const EnvImpl& env);
const EnvImpl& env,
int options = 0);
static void killImpl(ProcessHandleImpl& handle);
static void killImpl(PIDImpl pid);
static bool isRunningImpl(const ProcessHandleImpl& handle);
@@ -77,7 +78,8 @@ private:
Pipe* inPipe,
Pipe* outPipe,
Pipe* errPipe,
const EnvImpl& env);
const EnvImpl& env,
int options = 0);
};