timeout/README.md

21 lines
396 B
Markdown
Raw Permalink Normal View History

2023-01-02 08:41:42 +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
-----
```
2023-05-21 21:02:15 +02:00
./timeout [-l DEBUG_LEVEL] [-v] [-h] [-t TIMEOUT] [-c COMMAND]
2023-01-02 08:41:42 +01:00
```
Run `./timeout -h` to get the full help.
### In docker
```
2023-01-02 08:45:23 +01:00
docker run -it --rm gitnet.fr/deblan/timeout [-v] [-h] [-t TIMEOUT] [-c COMMAND]
2023-01-02 08:41:42 +01:00
```