On Thu, 30 Oct 2003 12:26:30 +1300
Volker Kuhlmann <[EMAIL PROTECTED]> wrote:

> The ps method is a cludge at best, and a bad one at that because it
> also catches processes started by other shells under the same uid.
> 

precisely

> > That'd be a simple
> > jobs -p %x
> 
> Does the %NUMBER bit work the same in scripts?
> 

even worse, it will not work from other tty's

> How do I get the exit code of those processes?
> 

dunno... write them somewhere before exiting?? (file/syslogd) (thats
assuming you are writing the program/script you want to keep an eye on) 

> Volker
> 
> -- 
> Volker Kuhlmann                       is possibly list0570 with the domain in header
> http://volker.dnsalias.net/           Please do not CC list postings to me.
> 

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to