Summary
Executes the given executable to process the given command.
Syntax
public static void Execute(string workingDirectory, string executable, ICommand command, KeyValuePair<string, string>[] environmentVariables, IEnumerable<string> specialArguments)
Parameters
Name |
Type |
Description |
workingDirectory |
string |
The working directory while executing the command.
|
executable |
string |
The full path to and name of the executable to execute.
|
command |
ICommand |
The options to the executable.
|
environmentVariables |
KeyValuePair<string, string>[] |
An array of KeyValuePair<TKey, TValue> objects, containing environment variable
overrides to use while executing the executable.
|
specialArguments |
IEnumerable<T> |
Any special arguments to pass to the executable, not defined by the command
object, typically common arguments that should always be passed to the executable.
|
Return Value