xref: /plan9-contrib/sys/man/1/await (revision 64d114ba0bc1e11c22fb23b8a656000f193e3bc2)
AWAIT 1
NAME
await - wait at most some seconds for a command to complete
SYNOPSIS
await max-secs cmd ...
DESCRIPTION
Run cmd with any following arguments, with standard input from /dev/null . Wait at most max-secs ; if cmd is then still running, exit but leave it running.

Useful in start-up scripts that must not get stuck.

EXAMPLES
await 5 auth/secstore -s p9auth -n -G factotum >/mnt/factotum/ctl
SOURCE
/rc/bin/await
SEE ALSO
wait (2)