Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void SetCommand(IEnumerable<string>)

Declaration

public void SetCommand(
    IEnumerable<string> args
)

Summary

Sets the CommandRunner.Command property by concatenating the command and any arguments while escaping values with spaces. Each value must be a single command / executable / script / argument. Null values are allowed and are skipped as if they weren't present. See Remarks.

Remarks

Example: SetCommand(new[] { @"C:\Program Files\Foo\Foo.exe", "-f", @"C:\Some Path\file.txt" });