vibe.d beta banner
get vibe.d
0.10.1

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

Function pipeProcess

Equivalent to std.process.pipeProcess.

ProcessPipes pipeProcess (
  scope string[] args,
  std.process.Redirect redirect = Redirect.all,
  const(string[string]) env = cast(const(string[string]))null,
  Config config = Config(Flags.none, null),
  scope GenericPath!(vibe.core.path.PosixPathFormat) workDir = GenericPath(null)
) @trusted;

ProcessPipes pipeProcess (
  scope string program,
  std.process.Redirect redirect = Redirect.all,
  const(string[string]) env = cast(const(string[string]))null,
  Config config = Config(Flags.none, null),
  scope GenericPath!(vibe.core.path.PosixPathFormat) workDir = GenericPath(null)
) @safe;

Returns

A struct containing the process and created pipes.

See Also

spawnProcess, execute

Authors
Copyright
License