next up previous contents index
Next: Menu Buttons Up: Main Functions 2 Previous: Socket and Xic Client/Server   Contents   Index

System Command Interface

(int) Shell(command)
The Shell function will execute command under an operating system shell. The command string consists of an executable name plus arguments, which should be meaningful to the operating system. The return value is the return code from the command, as obtained by the shell. The function will fail if the command string is null or empty.

(int) System(command)
This function sends the command string to the operating system for execution. This is an alias to the Shell function.

(int) GetPID(parent)
If the boolean argument is zero, this function returns the process ID of the currently running Xic process. If the argument is nonzero, the function returns the process ID of the parent process (typically a shell). The process ID is a unique integer assigned by the operating system.



Stephen R. Whiteley 2024-09-29