mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-10 05:15:24 +01:00
Flush stdout before bootstrap
This commit is contained in:
parent
3be90c7afd
commit
ffda41f38a
3 changed files with 5 additions and 1 deletions
|
|
@ -19,6 +19,9 @@ def run(*args, cleanup=None, **kwargs):
|
|||
if kwargs.pop('verbose', False):
|
||||
print(arguments)
|
||||
|
||||
sys.stdout.flush()
|
||||
sys.stderr.flush()
|
||||
|
||||
try:
|
||||
return subprocess.run(arguments, check=True, **kwargs)
|
||||
except subprocess.CalledProcessError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue