runShell

Runs a command, through the system's command shell interpreter, in typical shell-script style: Synchronously, with the command's stdout/in/err automatically forwarded through your program's stdout/in/err.

Optionally takes a working directory to run the command from.

The command is echoed if scriptlikeTraceCommands is true.

  1. int runShell(string command)
    int
    runShell
    ()
    (
    string command
    )
  2. int runShell(Path!C workingDirectory, string command)

Meta