vibe.d beta banner
get vibe.d
0.10.0

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

Function spawnShell

Equivalent to std.process.spawnProcess.

Process spawnShell (
  scope string command,
  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),
  scope GenericPath!(vibe.core.path.PosixPathFormat) shellPath = nativeShell
) @safe;

Returns

A reference to the running process.

See Also

pipeProcess, execute

Authors
Copyright
License