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