The Swiss Army knife for running processes
prcs
runs your command, but modifies its behavior in ways that you define with command-line arguments.
For example, you could retry a command until it exits with status code 0
.
Using the options that prcs
implements requires less effort than shell scripting the behavior and is cross-platform.
Note: The feature set of this project is not yet very comprehensive and is only documented in the --help
output.
With Cargo:
cargo install prcs
Or download binary releases directly.
Run prcs -h
for an overview of how to use this application, or run prcs --help
for detailed instructions.
Feature | Implemented |
---|---|
Stall | ✅ |
Re-run | ✅ |
Re-run max tries | |
Re-run delay | |
Translate/swallow signals | |
Logrotate | |
Empty closing/non-closing stdin | |
... |