vibe.d beta banner
get vibe.d
0.10.1

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

Function executeShell

Equivalent to std.process.execute.

std.typecons.Tuple!(int,"status",string,"output") executeShell (
  string command,
  const(string[string]) env = cast(const(string[string]))null,
  Config config = Config(Flags.none, null, null),
  ulong maxOutput = 18446744073709551615LU,
  GenericPath!(vibe.core.path.PosixPathFormat) workDir = GenericPath(null).this(null),
  GenericPath!(vibe.core.path.PosixPathFormat) shellPath = nativeShell
) @safe;

Returns

Tuple containing the exit status and process output.

See Also

spawnProcess, pipeProcess

Authors
Copyright
License