X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/f85d143fe449d69d6f611fcd388191a80bdfc415..ff0fc3fa841805cb45013d4fdb3c0ca142b7a330:/hippotatlib/ownsource.py diff --git a/hippotatlib/ownsource.py b/hippotatlib/ownsource.py index 8e30979..ac467f0 100644 --- a/hippotatlib/ownsource.py +++ b/hippotatlib/ownsource.py @@ -57,6 +57,8 @@ class SourceShipmentPreparer(): s.rune_shell = ['/bin/bash', '-ec'] s.show_pathnames = True s.download_packages = True + s.stream_stderr = sys.stderr + s.stream_debug = open('/dev/null','w') s.rune_cpio = r''' set -o pipefail ( @@ -274,8 +276,8 @@ class SourceShipmentPreparer(): subprocess.run(cmdl, cwd=s._packages_path, stdin=subprocess.DEVNULL, - stdout=sys.stdout, - stderr=sys.stderr, + stdout=s.stream_debug, + stderr=s.stream_stderr, restore_signals=True, check=True)