Release 1.3 exec job

General
Marcel
2013-07-30
2013-08-14
  • Marcel
    Marcel
    2013-07-30

    Not sure if this is a feature or bug. After the upgrade from 1.2 to 1.3 the exec job does not finish anymore if there is any child process still alive on Linux. Even starting in the background with PPID 1 is tracked. Is there any way to finish the job regardless of running child processes?

    Thanks, Marcel

     
  • Rob Gordon
    Rob Gordon
    2013-08-07

    I suspect this happens because the exec job now waits for stderr and stdout to finish writing before completing, and the child processes will still be hold these descriptors open. I think this is actually the correct behaviour and so this is a feature not a bug, albeit slightly unintentional. Can you not achieve what you want by using parallel to allow the job to run in the background?

    Rob.

     
  • Marcel
    Marcel
    2013-08-14

    Thanks Rob. Yes by redirecting stdout and stderr I get around this, which should be the right way to handle the output actually. Many thanks for your support! Marcel