Next: , Previous: , Up: Processes   [Contents][Index]


5.27.7 Process Information

Function: process-id process-object

This function returns the operating-system identifier associated with the subprocess currently running on the process object process-object.

Function: process-exit-value process-object

Returns the integer representing the return code of the last subprocess to be run on process-object.

If no subprocess has been run on process-object, process-object is currently in the running state or the last subprocess exited abnormally (i.e. from a terminal signal) false is returned.

Function: process-exit-status process-object

This function returns the integer that was the exit status of the last subprocess which was run on the process object process-object.

Note that the exit status is not the value given to the exit function in a C program, use the process-exit-value to access this value.

If no process has been run on process-object, or the process is currently in the running state false is returned.