vibe.d beta banner
get vibe.d
0.8.6

Asynchronous I/O that doesn’t get in your way, written in D

Function spawnProcess

Equivalent to std.process.spawnProcess.

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.

See Also

pipeProcess, execute

Authors
Copyright
License