shell-timeout

timeout command


Keywords
timeout, cli
License
Unlicense
Install
pip install shell-timeout==2020.12.3

Documentation

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

readme42.com