map all file descriptors to work with py2exe

This commit is contained in:
Damien Elmes 2009-06-13 16:01:58 +09:00
parent efb71c754c
commit e578ffc721

View file

@ -144,7 +144,8 @@ class MplayerMonitor(threading.Thread):
def startProcess(self):
try:
self.mplayer = subprocess.Popen(
mplayerCmd, startupinfo=si, stdin=subprocess.PIPE)
mplayerCmd, startupinfo=si, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
except OSError:
raise Exception("Audio player not found")