mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-06 22:15:22 -04:00
Add a flush
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ else:
|
||||
def run(*args):
|
||||
if len(args) == 1:
|
||||
args = shlex.split(args[0])
|
||||
print(' '.join(args))
|
||||
print(' '.join(args), flush=True)
|
||||
ret = subprocess.Popen(args).wait()
|
||||
if ret != 0:
|
||||
raise SystemExit(ret)
|
||||
|
||||
Reference in New Issue
Block a user