The system function SysLib.callCmd runs a system command and waits until the command finishes.
SysLib.callCmd( commandString STRING in [, modeString STRING in ])
The system command that is being executed must be visible to the running program. For example, if you execute callCmd("mySpecialProgram.exe"), the program "mySpecialProgram.exe" must be in a directory pointed to by the environment variable PATH. You may also specify the complete directory location, for example callCmd("program files/myWork/mySpecialProgram.exe").
The SysLib.callCmd function is supported only in Java™ environments.
Use the SysLib.startCmd function to run a system command that does not wait until the command finishes.
Related concepts
Syntax diagram for EGL functions
Related reference
EGL library SysLib
startCmd()