Function spawnProcess
Equivalent to std
.
Process spawnProcess
(
scope string[] args,
const(string[string]) env = cast(const(string[string]))null,
Config config = cast(Config)cast(ProcessConfig)0,
scope GenericPath!(vibe.core.path.PosixPathFormat) workDir = GenericPath(null)
) @trusted;
Process spawnProcess
(
scope string program,
const(string[string]) env = cast(const(string[string]))null,
Config config = cast(Config)cast(ProcessConfig)0,
scope GenericPath!(vibe.core.path.PosixPathFormat) workDir = GenericPath(null)
) @safe;
Returns
A reference to the running process.