Tries to start a subprocess via the Process class.
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 static Subprocess StartNormalSubprocess( string command, string fileName, string args, out string errorText )
Parameters
- command
- Type: SystemString
A command to use to start the process. If null or empty, the fileName argument is assumed to be an executable. - fileName
- Type: SystemString
The path to the program to start. - args
- Type: SystemString
The arguments string to send to the subprocess. - errorText
- Type: SystemString
If no process can be started an non empty string with an error message will be returned.
Return Value
Type: SubprocessA Subprocess object with a started process; otherwise null.
Remarks
Version Information
Supported in: 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also