1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-24 16:52:06 +00:00
This commit is contained in:
Louis Vézina 2020-02-16 11:42:16 -05:00
parent fc3923ad81
commit 710db7e94f

View file

@ -108,10 +108,7 @@ def start_bazarr(process_registry=ProcessRegistry()):
script = [sys.executable, "-u", os.path.normcase(os.path.join(dir_name, 'bazarr', 'main.py'))] + sys.argv[1:]
print("Bazarr starting...")
if PY3:
ep = subprocess.Popen(script, stdout=None, stderr=None, stdin=subprocess.DEVNULL)
else:
ep = subprocess.Popen(script, stdout=None, stderr=None, stdin=None)
ep = subprocess.Popen(script, stdout=None, stderr=None, stdin=subprocess.DEVNULL)
process_registry.register(ep)
try:
ep.wait()