parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tmux and


From: Ole Tange
Subject: Re: tmux and
Date: Mon, 12 Feb 2018 22:37:42 +0100

On Mon, Feb 12, 2018 at 10:29 PM, Ole Tange <address@hidden> wrote:
> On Mon, Feb 12, 2018 at 12:33 AM, Mathias Korber <address@hidden> wrote:
:
>> Is there a way to:
:
>> b) make parallel keep a pane (and the tmux session) for any
>> command that returns != 0?
:
> Each failed job will, however, take up one job-slot.

If you do not want them to take a job-slot, then the change is around line 8040:

             q[ perl -e 'while($t++<3){ print $ARGV[0],"\n" }'
$?h/$status >> ].$tmpfifo."&".

Here you will need to make the perl script sleep after printing the
return code (and flushing stdout).


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]