Skip to content

Commit 5f3845f

Browse files
committed
doc: format markdown code.
1 parent 250bdb2 commit 5f3845f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

command/wait.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,21 @@ wait(参数)
2222
使用命令wait等待作业号为1的作业完成后再返回,输入如下命令:
2323

2424
运行一个sleep进程
25+
2526
```shell
2627
sleep 10s &
2728
[1] 27156
2829
```
30+
2931
指定作业号
32+
3033
```shell
3134
wait %1 #等待作业号为1的作业完成
3235
[1]+ Done sleep 10s
3336
```
37+
3438
指定进程号
39+
3540
```shell
3641
wait 27156
3742
[1]+ Done sleep 10s

0 commit comments

Comments
 (0)