mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add a flush
This commit is contained in:
parent
a8619a5967
commit
60229b0a9c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user