Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
killed by signal
- X-seq: zsh-users 13996
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: killed by signal
- Date: Mon, 6 Apr 2009 20:27:42 +1200 (NZST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
if i understand it correctly... if zsh (or most/all other shells) spawns a
process that is "terminated" by a signal, the exit status returned (to?)
by the shell is 128+SIGNAL. but what about processes that are
stopped/suspended by signals (most likely ^Z, on the command line)? if a
process is stopped/suspended by a ^Z, is there *any* way for the parent
shell to figure out if the process was suspended? or to differentiate if
the return status just happens to be the same as a TSTP signal number?
thanks...
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"A good many observers have remarked that if
equality could come at once the Negro would
not be ready for it. I submit that the
white American is even more unprepared."
-- Martin Luther King, Jr.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author