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)
Copyright © 2024 Plan 9 Foundation. All rights reserved.