mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
Fix a crash with proxy procedures
This commit is contained in:
parent
ac806c13bd
commit
280d0c4a7e
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ def run_subproc(cmds, captured=False):
|
|||
errout = errout.replace('\r\n', '\n')
|
||||
procinfo['stderr'] = errout
|
||||
|
||||
if prev_proc.signal:
|
||||
if getattr(prev_proc, 'signal', None):
|
||||
sig, core = prev_proc.signal
|
||||
try:
|
||||
sig_str = SIGNAL_STRINGS[sig]
|
||||
|
|
Loading…
Add table
Reference in a new issue