Go to file
Simon Vieille 705e2416bc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
docs(usage): add more documentation
2023-01-02 08:42:29 +01:00
.woodpecker.yml change shellcheck image 2022-12-31 13:32:28 +01:00
Dockerfile add netcat-openbsd, iputils 2023-01-01 11:47:45 +01:00
README.md docs(readme): add the readme 2023-01-02 08:41:42 +01:00
timeout docs(usage): add more documentation 2023-01-02 08:42:29 +01:00

Timeout

Timeout executes a command until the timeout is over.
When the command is finished before the timeout then the exit code is 0 else it's 1.

Usage

./timeout [-v] [-h] [-t TIMEOUT] [-c COMMAND]

Run ./timeout -h to get the full help.

In docker

docker run -it --rm deblan/timeout [-v] [-h] [-t TIMEOUT] [-c COMMAND]