ProcessConfiguration(String, String, Boolean) Constructor

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

Initialises a new instance of the ProcessConfiguration class with the target file path, arguments, and output redirection setting; all other properties take the defaults documented on the corresponding properties.

[SetsRequiredMembers]
public ProcessConfiguration(string targetFilePath, string arguments = "", bool outputRedirection = true)

Parameters

targetFilePath
String

The file path of the executable to be run.

arguments
String

The arguments to pass to the executable.

outputRedirection
Boolean

Whether to redirect standard output and error.