SubprocessServiceStartSubprocess Method (Type, IEnumerableString, Boolean, String)

Spotfire 14.3 API Reference
Tries to start a subprocess.

Namespace:  Spotfire.Dxp.Framework.ApplicationModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public Subprocess StartSubprocess(
	Type typeToCreate,
	IEnumerable<string> args,
	bool redirectOutput,
	out string errorText
)

Parameters

typeToCreate
Type: SystemType
The type to create an instance of in the subprocess.
args
Type: System.Collections.GenericIEnumerableString
The arguments to pass to the instance.
redirectOutput
Type: SystemBoolean
if set to true [redirect output], this only works when the subprocess uses the Process class.
errorText
Type: SystemString
If no process can be started an none empty string with an error message will be returned.

Return Value

Type: Subprocess
A Process object; if the subprocess did start the Process object is connected to the running process; otherwise null is returned.
Version Information

Supported in: 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference