| IProcessExecutionHostStartProcess Method |
Starts a Windows process in an asynchronous fashion.
Namespace:
Mastersign.Bench
Assembly:
BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax void StartProcess(
BenchEnvironment env,
string cwd,
string executable,
string arguments,
ProcessExitCallback cb,
ProcessMonitoring monitoring
)
Sub StartProcess (
env As BenchEnvironment,
cwd As String,
executable As String,
arguments As String,
cb As ProcessExitCallback,
monitoring As ProcessMonitoring
)
Parameters
- env
- Type: Mastersign.BenchBenchEnvironment
The environment variables of Bench. - cwd
- Type: SystemString
The working directory, to start the process in. - executable
- Type: SystemString
The path to the executable. - arguments
- Type: SystemString
The string with the command line arguments. - cb
- Type: Mastersign.BenchProcessExitCallback
The handler method to call when the execution of the process finishes. - monitoring
- Type: Mastersign.BenchProcessMonitoring
A flag to control the level of monitoring.
See Also