2019.5.8 • Published 5 years ago
shell-timeout v2019.5.8
timeout command
Installation
$ [sudo] npm i -g shell-timeout
How it works
If the command times out, then exit with status 124. Otherwise, exit with the status of COMMAND
Scripts usage
command | usage |
---|---|
timeout | usage: timeout seconds command ... |
Examples
$ timeout 1 sleep 2