run

Run the given command. The tryRun variants return the exit code, whereas the run variants will assert on a non-zero exit code.

  1. void run(scope const(char[])[] args, File stdout = std.stdio.stdout, File stderr = std.stdio.stderr, string[string] env = null)
    void
    run
    (
    scope const(char[])[] args
    ,
    File stdout = std.stdio.stdout
    ,
    File stderr = std.stdio.stderr
    ,
    string[string] env = null
    )
  2. void run(string cmd, File stdout = std.stdio.stdout, File stderr = std.stdio.stderr, string[string] env = null)
  3. auto tryRun(scope const(char[])[] args, File stdout = std.stdio.stdout, File stderr = std.stdio.stderr, string[string] env = null)

Meta