Update genericDriver.py

This commit is contained in:
chrys87 2018-04-24 13:12:14 +02:00 committed by GitHub
parent dab2d4ca75
commit 1c9d2ca1b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,7 @@ class driver(speechDriver):
try:
self.env['runtime']['debug'].writeDebugOut('speechDriver:worker:' + ' '.join(popenSpeechCommand),debug.debugLevel.INFO)
self.lock.acquire(True)
self.proc = Popen(popenSpeechCommand, shell=False)
self.proc = Popen(popenSpeechCommand, stdin=None, stdout=None, stderr=None shell=False)
self.lock.release()
self.proc.wait()
except Exception as e: