SysLib.callCmd runs a system command synchronously and returns an integer.
eglx.lang
static function callCmd(commandString string in) returns (int);
SysLib.callCmd("mySpecialProgram.exe")The program "mySpecialProgram.exe" must be in a directory to which the PATH variable points. You can also specify the complete directory location, as in the following example:
SysLib.callCmd("program files/myWork/mySpecialProgram.exe")
The system command must return a value that is assignment compatible with an integer.
To initiate a system command asynchronously, invoke SysLib.startCmd.
Target | Issue |
---|---|
Java | No issues. |
JavaScript | The SysLib.callCmd function is not supported. |