some windows fixes

This commit is contained in:
Anthony Scopatz 2016-10-01 01:21:19 -04:00
parent 8b5c91bfd8
commit e6af5d47d3
2 changed files with 3 additions and 3 deletions

View file

@ -12,5 +12,5 @@ def test_envionment():
def test_xonsh_party():
x = 'xonsh'
y = 'party'
out = $(echo @(x + ' ' + y))
assert out == 'xonsh party\n', 'Out really was <' + out + '>, sorry.'
out = $(echo @(x + '-' + y)).strip()
assert out == 'xonsh-party', 'Out really was <' + out + '>, sorry.'

View file

@ -294,7 +294,7 @@ class PopenThread(threading.Thread):
# is started to prevent deadlock on windows
self.proc = None # has to be here for closure for handles
self.old_int_handler = self.old_winch_handler = None
self.old_tspt_handler = self.old_quit_handler = None
self.old_tstp_handler = self.old_quit_handler = None
if on_main_thread():
self.old_int_handler = signal.signal(signal.SIGINT,
self._signal_int)