diff options
author | Louis Vézina <[email protected]> | 2018-10-16 10:58:25 -0400 |
---|---|---|
committer | Louis Vézina <[email protected]> | 2018-10-16 10:58:25 -0400 |
commit | 67b722cce14eb30192135897c4e04f56f6a56327 (patch) | |
tree | 79c6bdb19b2575be9b401d1ac423fe6c7b8e6b1c /bazarr.py | |
parent | 8a1dc9e275e3a8f09fb09fe0903c0eb5619c6e0c (diff) | |
download | bazarr-67b722cce14eb30192135897c4e04f56f6a56327.tar.gz bazarr-67b722cce14eb30192135897c4e04f56f6a56327.zip |
Continuing development
Diffstat (limited to 'bazarr.py')
-rw-r--r-- | bazarr.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -20,14 +20,13 @@ for opt, arg in opts: dir_name = os.path.dirname(__file__) def start_bazarr(): - script = [sys.executable, os.path.normcase(os.path.join(globals()['dir_name'], 'bazarr/main.py'))] + globals()['arguments'] + script = [sys.executable, "-u", os.path.normcase(os.path.join(globals()['dir_name'], 'bazarr/main.py'))] + globals()['arguments'] ep = sp.Popen(script, stdout=sp.PIPE, stderr=sp.STDOUT, stdin=sp.PIPE) print "Bazarr starting..." try: for line in iter(ep.stdout.readline, ''): sys.stdout.write(line) - sys.stdout.flush() except KeyboardInterrupt: pass |