Merge pull request #1226 from adqm/pipe

Fix for pipeline issues
This commit is contained in:
Anthony Scopatz 2016-06-17 00:27:47 -04:00 committed by GitHub
commit af1f01ce92
2 changed files with 15 additions and 1 deletions

14
news/fix_pipeline.rst Normal file
View file

@ -0,0 +1,14 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Fixed issue where input was directed to the last process in a pipeline,
rather than the first.
**Security:** None

View file

@ -99,7 +99,7 @@ else:
def _set_pgrp(info):
try:
info['pgrp'] = os.getpgid(info['obj'].pid)
info['pgrp'] = os.getpgid(info['pids'][0])
except ProcessLookupError:
pass