Add a flush

This commit is contained in:
Kovid Goyal 2021-03-16 11:04:14 +05:30
parent a8619a5967
commit 60229b0a9c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)