




 
Returns the exit status of a process executed with run-shell-command.
The function pid-exit-status returns the exit status of a process executed by run-shell-command with argument 
save-exit-status
 passed a non-
nil
 value.
If 
wait
 is true then pid-exit-status waits until the process exits, using 
name
 in the wait message. If 
wait
 is 
nil
 and the process has not terminated, then 
pid-exit-status
 returns 
nil
 immediately.
Note: 
pid-exit-status
 is implemented only for Unix/Linux/Mac OS X.