Process.this

Constructor (variadic version). Note that by default, the environment will not be copied.

Parameters

args const(char[])[]

array of strings with the process' arguments. If there is exactly one argument, it is considered to contain the entire command line including parameters. If you pass only one argument, spaces that are not intended to separate parameters should be embedded in quotes. The arguments can also be empty. Note: The class will use only slices, .dup when necessary.

Examples

auto p = new Process("myprogram", "first argument", "second", "third");
auto p = new Process("myprogram \"first argument\" second third");

Meta