mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
fixes for POSIX jobs
This commit is contained in:
parent
686366c545
commit
b5ccaa3d07
2 changed files with 1 additions and 4 deletions
|
@ -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 = ''
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue