aaronriekenberg / rust-parallel

Fast command line app in rust/tokio to run commands in parallel. Similar interface to GNU parallel or xargs plus useful features. Listed in Awesome Rust utilities.
MIT License
146 stars 7 forks source link

Alternative error behaviours to `--exit-on-error` #22

Open zakstucke opened 4 months ago

zakstucke commented 4 months ago

As mentioned in #21:

Current usecase:

--exit-on-error currently doesn't meet this usecase: given each process is infinite, unless a termination is sent to the other processes, the docker container will not exit on error, this usecase requires the container to exit if any process dies. (a container exits when it's entrypoint command finishes)

In my scenario ideally rust-parallel could:

That's the ideal scenario, the exact cli params that offer that generically I don't claim to be 100% sure of!