From b32c14b548e1e0476a4ba5ad5da2c504f3cdd4d9 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 5 Mar 2019 16:08:00 +0100 Subject: fix subprocess call --- src/allocator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/allocator.py b/src/allocator.py index f530540..da666a9 100644 --- a/src/allocator.py +++ b/src/allocator.py @@ -38,7 +38,7 @@ class Allocator_Sources (object): stdout = subprocess.PIPE if src.globalvars.verbosity < 2 else None for cmd in cmds: - p = subprocess.run(cmd, shell=True, cwd=cwd, stderr=stderr.PIPE, + p = subprocess.run(cmd, shell=True, cwd=cwd, stderr=subprocess.PIPE, stdout=stdout) if p.returncode: -- cgit v1.2.3