fixes for POSIX jobs

This commit is contained in:
adam j hartz 2015-05-12 21:59:04 -04:00
parent 686366c545
commit b5ccaa3d07
2 changed files with 1 additions and 4 deletions

View file

@ -486,8 +486,7 @@ def run_subproc(cmds, captured=True):
return
if prev_is_proxy:
prev_proc.wait()
else:
wait_for_active_job()
wait_for_active_job()
if write_target is None:
# get output
output = ''

View file

@ -102,8 +102,6 @@ else:
return
job = builtins.__xonsh_all_jobs__[act]
obj = job['obj']
if isinstance(obj, ProcProxy):
return
if job['bg']:
return
pgrp = job['pgrp']