mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
Merge pull request #567 from adqm/xonsh_shell
Be more careful about __xonsh_shell__ (potential fix for #566)
This commit is contained in:
commit
5dc5d192c5
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue