C# Class VisualMutator.Infrastructure.Processes

Inheritance: IProcesses
Show file Open project: visualmutator/visualmutator Class Usage Examples

Public Methods

Method Description
RunAsync ( ProcessStartInfo processStartInfo ) : Task
RunAsync ( ProcessStartInfo processStartInfo, CancellationTokenSource cancellationToken ) : Task
RunAsync ( string fileName ) : Task
RunAsync ( string fileName, string arguments ) : Task
RunAsync ( string fileName, string userName, SecureString password, string domain ) : Task
RunAsync ( string fileName, string arguments, string userName, SecureString password, string domain ) : Task
RunHiddenAsync ( string path, string args ) : Task

Private Methods

Method Description
KillProcessAndChildren ( int pid ) : void

Method Details

RunAsync() public method

public RunAsync ( ProcessStartInfo processStartInfo ) : Task
processStartInfo System.Diagnostics.ProcessStartInfo
return Task

RunAsync() public method

public RunAsync ( ProcessStartInfo processStartInfo, CancellationTokenSource cancellationToken ) : Task
processStartInfo System.Diagnostics.ProcessStartInfo
cancellationToken System.Threading.CancellationTokenSource
return Task

RunAsync() public method

public RunAsync ( string fileName ) : Task
fileName string
return Task

RunAsync() public method

public RunAsync ( string fileName, string arguments ) : Task
fileName string
arguments string
return Task

RunAsync() public method

public RunAsync ( string fileName, string userName, SecureString password, string domain ) : Task
fileName string
userName string
password System.Security.SecureString
domain string
return Task

RunAsync() public method

public RunAsync ( string fileName, string arguments, string userName, SecureString password, string domain ) : Task
fileName string
arguments string
userName string
password System.Security.SecureString
domain string
return Task

RunHiddenAsync() public method

public RunHiddenAsync ( string path, string args ) : Task
path string
args string
return Task