work around Windows issue with Popen()/py2exe

This commit is contained in:
Josh Holtrop 2011-07-19 11:28:06 -04:00
parent 290395903e
commit 07756a8b19

View File

@ -154,7 +154,7 @@ class Window(object):
m = re.match(r'\s*cmd:\s*(.*)', action)
if m is not None:
cmd = m.group(1)
Popen(cmd, stdout=PIPE)
Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
elif action == 'reconnect':
self.disconnect()
self.connect()