$jobstates
–
Mapping of job number to state
$jobstates
maps job numbers to job state. Each value is of the form job-state:mark:pid=state...
.
Links
Examples
- Run job and print job states
- Output:
1 2
ping -c 10 1.1.1.1 >/dev/null & ~ typeset jobstates
1 2
[1] 288088 jobstates=( [1]='running:+:288088=running' )
BashSupport Pro is a Zsh IDE with support for $jobstates – try it now!