 | CSYS.iRun Method |
Run a command line process.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iRun(
string command,
string args,
int process
)
public static int iRun(
string command,
string args,
int process
)
Public Shared Function iRun (
command As String,
args As String,
process As Integer
) As Integer
Public Shared Function iRun (
command As String,
args As String,
process As Integer
) As Integer
public:
static int iRun(
String^ command,
String^ args,
int process
)
public:
static int iRun(
String^ command,
String^ args,
int process
)
static member iRun :
command : string *
args : string *
process : int -> int
static member iRun :
command : string *
args : string *
process : int -> int
Parameters
- command
- Type: System.String
Command name - args
- Type: System.String
Command line arguments - process
- Type: System.Int32
Flags <define>SYS_RUN_TYPE</define> <define>SYS_RUN_DISPLAY</define> <define>SYS_RUN_HOLD</define> <define>SYS_RUN_WIN</define>
Return Value
Type:
Int32
-1 if failed to execute task
Exit status of the task
Remarks
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
See Also