Process.args

Set the process' arguments from the arguments received by the method.

Remarks: The first element of the array must be the name of the process' executable.

  1. cstring[] args()
  2. cstring[] args(cstring progname, const(mstring)[] args)
    class Process

Return Value

Type: cstring[]

the arguments that were set.

Examples

void example ( )
{
    auto p = new Process;
    p.args("myprogram", "first", "second argument", "third");
}

Meta