don't try to update title based on current command if we're storing stdout

This commit is contained in:
adam j hartz 2015-12-05 18:44:19 -05:00
parent 5c6cfba70e
commit 4d9024d9f6

View file

@ -613,7 +613,8 @@ def run_subproc(cmds, captured=True):
'obj': prev_proc,
'bg': background
})
if ENV.get('XONSH_INTERACTIVE'):
if ENV.get('XONSH_INTERACTIVE') and not ENV.get('XONSH_STORE_STDOUT'):
# set title here to get current command running
builtins.__xonsh_shell__.settitle()
if background:
return