NextPrevUpTopContentsIndex

pid-exit-status

Function
Summary

Returns the exit status of a process executed with run-shell-command.

Package

system

Signature

pid-exit-status pid &key wait name => exit-status

Arguments

pid

A process ID.

wait

A boolean, default value t .

name

A Lisp object, default value pid .

Values

exit-status

An integer, or nil .

Description

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.

See also

run-shell-command


LispWorks Reference Manual - 23 Jul 2004

NextPrevUpTopContentsIndex