mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
Error 25 in give terminal to
This commit is contained in:
parent
83efd76e4e
commit
9b135d1820
1 changed files with 5 additions and 0 deletions
|
@ -144,6 +144,11 @@ else:
|
|||
# finished, then we don't need to do anything here, see
|
||||
# issue #2220
|
||||
return False
|
||||
elif e.errno == 25: # [Errno 25] Inappropriate ioctl for device
|
||||
# There are also cases where we are not connected to a
|
||||
# real TTY, even though we may be run in interactive
|
||||
# mode. See issue #2267 for an example with emacs
|
||||
return False
|
||||
else:
|
||||
raise
|
||||
finally:
|
||||
|
|
Loading…
Add table
Reference in a new issue