Capturing verbose exit codes

2010-04-03 Thread Suvayu Ali
Hi, Whenever some job is sent to the background and it finishes, it displays a message on the shell with the exit code. Something like this; [1]- Doneemacs [2]+ Terminated gedit I understand that I can get the exit code with $? but is there some way I can

Re: Capturing verbose exit codes

2010-04-03 Thread Dave Ihnat
On Sat, Apr 03, 2010 at 01:53:40PM -0700, Suvayu Ali wrote: Whenever some job is sent to the background and it finishes, it displays a message on the shell with the exit code. ... ... I understand that I can get the exit code with $? but is there some way I can get the associated message

Re: Capturing verbose exit codes

2010-04-03 Thread Cameron Simpson
On 03Apr2010 17:07, Dave Ihnat dih...@dminet.com wrote: | On Sat, Apr 03, 2010 at 01:53:40PM -0700, Suvayu Ali wrote: | Whenever some job is sent to the background and it finishes, it displays | a message on the shell with the exit code. ... | ... | I understand that I can get the exit code

Re: Capturing verbose exit codes

2010-04-03 Thread Suvayu Ali
On Saturday 03 April 2010 04:22 PM, Cameron Simpson wrote: On 03Apr2010 17:07, Dave Ihnatdih...@dminet.com wrote: | On Sat, Apr 03, 2010 at 01:53:40PM -0700, Suvayu Ali wrote: | Whenever some job is sent to the background and it finishes, it displays | a message on the shell with the exit

Re: Capturing verbose exit codes

2010-04-03 Thread Cameron Simpson
On 03Apr2010 18:06, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: | On Saturday 03 April 2010 04:22 PM, Cameron Simpson wrote: | So the shell can report Terminated and Segmentation Fault reliably and | Done versus failed because the wait status has distinct information. | So he should be able