Click or drag to resize

SimpleExecutionHostRunProcess Method

Starts a Windows process in a synchronous fashion.

Namespace:  Mastersign.Bench
Assembly:  BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax
public ProcessExecutionResult RunProcess(
	BenchEnvironment env,
	string cwd,
	string exe,
	string arguments,
	ProcessMonitoring monitoring
)

Parameters

env
Type: Mastersign.BenchBenchEnvironment
The environment variables of Bench.
cwd
Type: SystemString
The working directory, to start the process in.
exe
Type: SystemString
The path to the executable.
arguments
Type: SystemString
The string with the command line arguments.
monitoring
Type: Mastersign.BenchProcessMonitoring
A flag to control the level of monitoring.

Return Value

Type: ProcessExecutionResult
An instance of ProcessExecutionResult with the exit code and optionally the output of the process.

Implements

IProcessExecutionHostRunProcess(BenchEnvironment, String, String, String, ProcessMonitoring)
See Also