potential fix for #566

This commit is contained in:
adam j hartz 2015-12-07 20:21:37 -05:00
parent 8a5304b706
commit 4ee496e5b3

View file

@ -615,7 +615,10 @@ def run_subproc(cmds, captured=True):
})
if ENV.get('XONSH_INTERACTIVE') and not ENV.get('XONSH_STORE_STDOUT'):
# set title here to get current command running
builtins.__xonsh_shell__.settitle()
try:
builtins.__xonsh_shell__.settitle()
except AttributeError:
pass
if background:
return
if prev_is_proxy: