From 07756a8b19190929228e99a589fbcef157fc6aa6 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 19 Jul 2011 11:28:06 -0400 Subject: [PATCH] work around Windows issue with Popen()/py2exe --- Window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Window.py b/Window.py index 139b27d..22e7d31 100755 --- a/Window.py +++ b/Window.py @@ -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()