timeout command
Project description
Installation
$ [sudo] pip install shell-timeout
$ [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
Examples
$ timeout 1 sleep 2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.