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

killed by signal



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