43
43
// The user of this class has responsibility to close these pipes after
44
44
// the child process exits.
45
int Spawn(const char *file, char *const argv[], char **env, int stdio_fds[3]);
45
int Spawn(const char *file, char *const argv[], const char *cwd, char **env, int stdio_fds[3], int custom_fds[3]);
47
47
// Simple syscall wrapper. Does not disable the watcher. onexit will be