mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
map all file descriptors to work with py2exe
This commit is contained in:
parent
efb71c754c
commit
e578ffc721
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue