diff options
author | Jesse Keating <jkeating@redhat.com> | 2010-09-10 16:10:25 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-09-10 16:10:25 -0700 |
commit | 4a710621fea6a9842f3ff342712aaee9fca50699 (patch) | |
tree | 43f6bf1402fbec85d0cbf52fa6315a0e98463121 /src/pyfedpkg/__init__.py | |
parent | a680021b98bad95be373fb70ce5dfd26f34aad86 (diff) | |
download | fedora-packager-4a710621fea6a9842f3ff342712aaee9fca50699.tar.gz fedora-packager-4a710621fea6a9842f3ff342712aaee9fca50699.tar.xz fedora-packager-4a710621fea6a9842f3ff342712aaee9fca50699.zip |
Also redirect stderr over to stdout on non-terms
Again this is just because rpmbuild does some stupid things.
Diffstat (limited to 'src/pyfedpkg/__init__.py')
-rw-r--r-- | src/pyfedpkg/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py index 8c67261..01d6984 100644 --- a/src/pyfedpkg/__init__.py +++ b/src/pyfedpkg/__init__.py @@ -172,7 +172,8 @@ def _run_command(cmd, shell=False, env=None, pipe=[], cwd=None): if pipe: proc1 = subprocess.Popen(command, env=environ, stdout=subprocess.PIPE, - stderr=subprocess.PIPE, shell=shell, + stderr=subprocess.STDOUT, + shell=shell, cwd=cwd) proc = subprocess.Popen(pipecmd, env=environ, stdin=proc1.stdout, |