Process.opBinary

Append multiple arguments, returning a new Process (non-mutating). Equivalent to withArgs.

  1. Process opBinary(string arg)
  2. Process opBinary(string[] args)
    struct Process
    const
    opBinary
    (
    string op
    )
    (
    in string[] args
    )
    if (
    op == "~"
    )

Examples

auto git = Process("git").withArgs("--git-dir", myPath);
(git ~ ["clone", url]).execute.ensureOk;

Meta