On Mon, Feb 12, 2018 at 12:33 AM, Mathias Korber <math...@koerber.org> wrote:
> The tutorial says:
:
>> Using --tmux GNU parallel can start a terminal for every job run:

Great to see someone is using the --tmux. I feel confident you are in
an elite group :)

> Is there a way to:
> a) change that 10 second reap time
> b) make parallel keep a pane (and the tmux session) for any
> command that returns != 0?

Not directly. But it is fairly easy to code - as long as you only want
a longer reap time:

parallel --tmux 'echo {};(exit {}) || sleep 100000' ::: 0 0 1 2 0 0 3 4 0 0 5 6

Each failed job will, however, take up one job-slot.


/Ole

Reply via email to