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. const(char[])[] args()
  2. const(char[])[] args(const(char)[] progname, const(char[])[] args)
    class Process
    const(char[])[]
    args
    (
    const(char)[] progname
    ,
    const(char[])[] args...
    )

Return Value

Type: const(char[])[]

the arguments that were set. This doesn't include the progname.

Examples

p.args("myprogram", "first", "second argument", "third");

Meta