Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: FluidCommandRunner RunRaw(string)

Declaration

public static FluidCommandRunner RunRaw(
    string command
)

Summary

Executes the specified command using a fluid syntax. Use method chaining to configure any options, then invoke FluidCommandRunner.Go() (or one of its variants) to execute the command. See Remarks.

Parameters

stringcommand The command and its arguments. All arguments must be escaped as appropriate.

Remarks

The default options are as follows: 0 is the only exit code indicating success; print the command output to the console as-is.

Example: CommandRunner.RunRaw(@"C:\Program Files\Foo\Foo.exe -f ""C:\Some Path\file.txt""").SuccessExitCodes(0, 1).Go();