Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

wait for non-child PID



I heard that wait has a problem if the argument is non-child PID.

For example,

% wait 1

blocks forever.  (It is interruptible.)

bash detects that the PID is not child of the shell.

bash-2.04$ wait 1
bash: wait: pid 1 is not a child of this shell
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author