Process.argsWithCommand

Set the process' command and arguments from an array.

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

class Process
void
argsWithCommand
(
const(mstring)[] args
)

Return Value

Type: void

the arguments that were set.

Examples

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

Meta