| PowerShellExecutionHostBaseStartProcess 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 public void StartProcess(
BenchEnvironment env,
string cwd,
string executable,
string arguments,
ProcessExitCallback cb,
ProcessMonitoring monitoring
)
Public 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.
Implements
IProcessExecutionHostStartProcess(BenchEnvironment, String, String, String, ProcessExitCallback, ProcessMonitoring)See Also