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

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

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.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(
	CGXNETCore gxNetShared,
	string command,
	string args,
	int process
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
command
Type: SystemString
Command name
args
Type: SystemString
Command line arguments
process
Type: SystemInt32
Flags &lt;define&gt;SYS_RUN_TYPE&lt;/define&gt; &lt;define&gt;SYS_RUN_DISPLAY&lt;/define&gt; &lt;define&gt;SYS_RUN_HOLD&lt;/define&gt; &lt;define&gt;SYS_RUN_WIN&lt;/define&gt;

Return Value

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