[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Your opinion needed: Should GNU Parallel ignore, kill or wait for ba
From: |
Cook, Malcolm |
Subject: |
RE: Your opinion needed: Should GNU Parallel ignore, kill or wait for background children? |
Date: |
Mon, 23 May 2016 23:58:36 +0000 |
Default should be to wait for background children unless called with new
--async option
> -----Original Message-----
> From: Parallel [mailto:parallel-bounces+mec=stowers.org@gnu.org] On
> Behalf Of Ole Tange
> Sent: Monday, May 23, 2016 5:47 PM
> To: parallel@gnu.org
> Subject: Your opinion needed: Should GNU Parallel ignore, kill or wait for
> background children?
>
> Should GNU Parallel ignore, kill or wait for background children?
>
> Example:
>
> $ parallel '(sleep 100) & echo' ::: 1
> 1
> $ ps -opid,pgrp,cmd
> PID PGRP CMD
> 915719 915719 /bin/bash
> 937618 937617 sleep 100
> 937620 937620 ps -opid,pgrp,cmd
>
> The sleep is put in the background. The echo finishes, and GNU
> Parallel exits, while the sleep is still running.
>
> Is this what you expect?
>
> Or do you expect GNU Parallel to wait for the background job? Should
> it do that for every job? Or just when GNU Parallel is about to exit?
>
> Or do you expect GNU Parallel to kill the background job? Should it do
> that for every job? Or just when GNU Parallel is about to exit?
>
>
> /Ole
- Your opinion needed: Should GNU Parallel ignore, kill or wait for background children?, Ole Tange, 2016/05/23
- Re: Your opinion needed: Should GNU Parallel ignore, kill or wait for background children?, Josef wells, 2016/05/23
- RE: Your opinion needed: Should GNU Parallel ignore, kill or wait for background children?,
Cook, Malcolm <=
- Re: Your opinion needed: Should GNU Parallel ignore, kill or wait for background children?, Jan Engelhardt, 2016/05/23
- Re: Your opinion needed: Should GNU Parallel ignore, kill or wait for background children?, Martin d'Anjou, 2016/05/23