[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Your opinion needed: Should GNU Parallel ignore, kill or wait for backgr
From: |
Ole Tange |
Subject: |
Your opinion needed: Should GNU Parallel ignore, kill or wait for background children? |
Date: |
Tue, 24 May 2016 00:46:49 +0200 |
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 <=
- 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, 2016/05/23
- 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