- drain
auto drain(T p)
Drain a process pipe until empty.
- drain
auto drain(ProcessT p, T range)
Drain the output from the process into an output range.
- drainByLineCopy
auto drainByLineCopy(T p)
Undocumented in source. Be warned that the author may not have intended to support it.
- drainToNull
auto drainToNull(T p)
Drain the process output until it is done executing.
- libs
AddressMap[][AbsolutePath] libs(RawPid pid)
An assoc array mapping the path of each shared library loaded by
the process to the address it is loaded at in the process address space.
- makeScript
string makeScript(string script, string file, uint line)
Undocumented in source. Be warned that the author may not have intended to support it.
- parseLddOutput
Address[AbsolutePath] parseLddOutput(T input)
Parses the output from a run of 'ldd' on a binary.
- pipeProcess
PipeProcess pipeProcess(const(char[])[] args, std.process.Redirect redirect, string[string] env, std.process.Config config, const(char)[] workDir)
Undocumented in source. Be warned that the author may not have intended to support it.
- pipeShell
PipeProcess pipeShell(const(char)[] command, std.process.Redirect redirect, string[string] env, std.process.Config config, const(char)[] workDir, string shellPath)
Undocumented in source. Be warned that the author may not have intended to support it.
- rcKill
auto rcKill(T p, int signal)
Manage a process by reference counting so that it is terminated when the it
stops being used such as the instance going out of scope.
- sandbox
auto sandbox(T p)
Undocumented in source. Be warned that the author may not have intended to support it.
- spawnProcess
SpawnProcess spawnProcess(const(char[])[] args, File stdin, File stdout, File stderr, string[string] env, std.process.Config config, char[] workDir)
Undocumented in source. Be warned that the author may not have intended to support it.
- spawnProcess
SpawnProcess spawnProcess(const(char[])[] args, string[string] env, std.process.Config config, const(char)[] workDir)
Undocumented in source. Be warned that the author may not have intended to support it.
- spawnProcess
SpawnProcess spawnProcess(const(char)[] program, File stdin, File stdout, File stderr, string[string] env, std.process.Config config, const(char)[] workDir)
Undocumented in source. Be warned that the author may not have intended to support it.
- spawnShell
SpawnProcess spawnShell(const(char)[] command, File stdin, File stdout, File stderr, string[string] env, std.process.Config config, const(char)[] workDir, string shellPath)
Undocumented in source. Be warned that the author may not have intended to support it.
- spawnShell
SpawnProcess spawnShell(const(char)[] command, string[string] env, std.process.Config config, const(char)[] workDir, string shellPath)
Async process that do not block on read from stdin/stderr.
- timeout
auto timeout(T p, Duration timeout_)
Undocumented in source. Be warned that the author may not have intended to support it.
- waitForPendingData
void waitForPendingData(Process p)
Returns when the process has pending data.
- waitUntilChildren
void waitUntilChildren(RawPid p, int num)
Wait for p to have num children or fail after 10s.