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

Return Value

Type: Process

a reference to this for chaining

Examples

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

Meta