Bolder
Tuesday, 1 October 2013
Wait command usage in linux=?iso-8859-1?Q?=3F_=96_unix.stackexchange.com?=
Wait command usage in linux? –
unix.stackexchange.com
#!/bin/bash function back() { sleep $1 exit $2 } back $1 $2 & b=$! if
`wait $!`;then echo success else echo failure fi bash-3.00# ./back 300 0
failure bash-3.00# ./back 300 1 …
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment