Process.setArgs

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.

class Process
setArgs

Return Value

Type: Process

a reference to this for chaining

Examples

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

Meta