https://github.com/wandersonwhcr/sh-timeout
A POSIX-compliant sh Timeout
https://github.com/wandersonwhcr/sh-timeout
posix posix-sh sh timeout
Last synced: 7 months ago
JSON representation
A POSIX-compliant sh Timeout
- Host: GitHub
- URL: https://github.com/wandersonwhcr/sh-timeout
- Owner: wandersonwhcr
- License: mit
- Created: 2022-01-18T10:09:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T16:22:15.000Z (over 3 years ago)
- Last Synced: 2025-01-17T21:42:58.248Z (9 months ago)
- Topics: posix, posix-sh, sh, timeout
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sh-timeout
A POSIX-compliant sh Timeout
## Usage
```console
$ ./timeout.sh 1 sleep 2
$ ./timeout.sh 2 sleep 1
Timeout.
```## References
* Stack Exchange: [POSIX equivalent for GNU timeout?](https://unix.stackexchange.com/questions/274564/posix-equivalent-for-gnu-timeout)