work around Windows issue with Popen()/py2exe
This commit is contained in:
parent
290395903e
commit
07756a8b19
@ -154,7 +154,7 @@ class Window(object):
|
|||||||
m = re.match(r'\s*cmd:\s*(.*)', action)
|
m = re.match(r'\s*cmd:\s*(.*)', action)
|
||||||
if m is not None:
|
if m is not None:
|
||||||
cmd = m.group(1)
|
cmd = m.group(1)
|
||||||
Popen(cmd, stdout=PIPE)
|
Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
|
||||||
elif action == 'reconnect':
|
elif action == 'reconnect':
|
||||||
self.disconnect()
|
self.disconnect()
|
||||||
self.connect()
|
self.connect()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user