wait
wait(ウェイト)は、バックグラウンドプロセスの
使用 法
[Bourne シェル
[wait [n]
nが
wait
は
wait
は、
例
[このコマンドは、スクリプトの
#!/bin/bash
# Parallel update script which makes use of the wait command
# Update local copy
rsync iona:src/ . &
# Upgrade required libraries, or exit indicating failure if make failed for some reason
make -C lib || exit 1
# Wait for rsync to terminate (may have already happened) and finish the job, unless rsync failed
wait && make
C シェル
[wait
すべてのバックグラウンド・ジョブの
関連 項目
[外部 リンク
[- GNU bash reference manual(
英語 ) - wait(1) シェル・コマンド man page(SunOS リファレンスマニュアル)
- wait(1) シェル・コマンド man page(HP-UX リファレンス)
- wait(2) システム・コール man page(Solaris 9 Reference Manual Collection)(
英語 ) - wait(2) システム・コール man page(HP-UX リファレンス)