小编Why*_*rrh的帖子

`-f' 选项对 `wait' 与默认行为有何作用?

Bash 5.0 包括一个新-f选项wait[1]

j. The `wait' builtin now has a `-f' option, which signfies to wait until the
   specified job or process terminates, instead of waiting until it changes
   state.
Run Code Online (Sandbox Code Playgroud)

这是什么wait -f $pid做的,而不是默认wait $pid?在什么条件下-f需要选择?

bash wait

3
推荐指数
1
解决办法
551
查看次数

标签 统计

bash ×1

wait ×1