Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Getting information about dead processes
- X-seq: zsh-users 22764
 
- From: Leah Neukirchen <leah@xxxxxxxx>
 
- To: zsh-users@xxxxxxx
 
- Subject: Getting information about dead processes
 
- Date: Tue, 04 Jul 2017 13:00:54 +0200
 
- List-help: <mailto:zsh-users-help@zsh.org>
 
- List-id: Zsh Users List <zsh-users.zsh.org>
 
- List-post: <mailto:zsh-users@zsh.org>
 
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
 
Hi,
in $? or $status we can find the exit code of the last process, but I
can't see a way to find more detail about the exit status.  The job
layer has access to WIFSIGNALED and WTERMSIG, and displays if a
process died due to a signal.  How can I access this data from a zsh
script/interactive session?
Thanks,
-- 
Leah Neukirchen  <leah@xxxxxxxx>  http://leah.zone
Messages sorted by:
Reverse Date,
Date,
Thread,
Author