parallel
[Top][All Lists]
Advanced

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

--nonall and --basefile


From: Ben. B.
Subject: --nonall and --basefile
Date: Wed, 17 Aug 2011 11:32:08 -0400

Would it be possible to update parallel so that one can pass a --basefile when doing --nonall with --sshlogin?

I hacked it to work by doing the following:

  if($::opt_nonall or $::opt_onall) {
      ...
      setup_basefile() if @::opt_basefile;
      ...
      my $exit = min(undef_as_zero($Global::exitstatus),254);
      cleanup_basefile() if @::opt_basefile;
      wait_and_exit($exit)
  }

Not sure if this is acceptable/desirable but in my limited testing it did work. Thanks!


reply via email to

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