Click or drag to resize
CSYSiRun Method
Run a command line process.

Available since Oasis montaj version: 5.0.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
The Default option for each define below is the first one and is set to 0. We look for the command object in the following order: 1. the local working directory 2. the <geosoft>\bin directory 3. the system path
Syntax
public static int iRun(
	string str1,
	string str2,
	int i3
)

Parameters

str1
Type: SystemString
command name
str2
Type: SystemString
command line arguments
i3
Type: SystemInt32
Flags SYS_RUN_TYPEConstantSYS_RUN_DISPLAYConstantSYS_RUN_HOLDConstantSYS_RUN_WINConstant

Return Value

Type: Int32
-1 if failed to execute task Exit status of the task
See Also