Pass to sys.stdout and sys.stderr
This commit is contained in:
parent
a3c5a7ffd4
commit
ef78a2cb6b
1 changed files with 1 additions and 1 deletions
2
akshara
2
akshara
|
@ -257,7 +257,7 @@ def handle_system_packages(install):
|
||||||
if args.noconfirm:
|
if args.noconfirm:
|
||||||
operation.append('--noconfirm')
|
operation.append('--noconfirm')
|
||||||
|
|
||||||
if exec('systemd-nspawn', '-D', '/.blendrw', '--', 'pacman', *operation, '--', *args.pkg) != 0:
|
if exec('systemd-nspawn', '-D', '/.blendrw', '--', 'pacman', *operation, '--', *args.pkg, stdout=sys.stdout, stderr=sys.stderr) != 0:
|
||||||
error('error occurred during installation, abandoning changes')
|
error('error occurred during installation, abandoning changes')
|
||||||
while exec('umount', '-l', '/.blendrw/usr', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) != 0:
|
while exec('umount', '-l', '/.blendrw/usr', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) != 0:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue