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
    cstring[]
    args
    (
    cstring progname
    ,
    Const!(mstring)[] args...
    )

Return Value

Type: cstring[]

the arguments that were set.

Examples

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

Meta