$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....

Examples

Run job and print job states
1
2
ping -c 10 1.1.1.1 >/dev/null &                                                                                                                    ~
typeset jobstates
Output:
1
2
[1] 288088
jobstates=( [1]='running:+:288088=running' )
BashSupport Pro 是一款支持 jobstates** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款