Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

[rhelv5-list] Bash "kill -0" behavior

Jos Vos

2008-03-19

Replies:

Author LoginPost Reply
Hi,

It seems that bash's built-in kill behaves different from /bin/kill,
ksh's kill, and from what I would expect (this happens in all the
versions of bash that I tested).

What I would expect (and what /bin/kill a.o. seem to do):
kill -0 <PIDS> fails if one or more of the pid parameters is invalid

What bash does:
kill -0 <PIDS> succeeds if one or more of the pid parameters is valid

I couldn't find a complete spec of what is correct/wrong in any formal
UNIX spec till now.

Comments?

--
--   Jos Vos <jos@(protected)>
--   X/OS Experts in Open Systems BV  |  Phone: +31 20 6938364
--   Amsterdam, The Netherlands     |   Fax: +31 20 6948204

_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.