diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-11-29 17:48:41 -0500 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-11-29 17:48:41 -0500 |
commit | f66fb97b131e6f4cf100b5bd48716d086eb8b836 (patch) | |
tree | 026dce9ad18eb6ce538c121d704f6ac3319d1d73 /iutil.py | |
parent | 0ce592f5fe9ff835e4dd8421784a0e3c094ed01a (diff) | |
download | anaconda-f66fb97b131e6f4cf100b5bd48716d086eb8b836.tar.gz anaconda-f66fb97b131e6f4cf100b5bd48716d086eb8b836.tar.xz anaconda-f66fb97b131e6f4cf100b5bd48716d086eb8b836.zip |
set stdin for pulse progress if needed
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -118,6 +118,8 @@ def execWithPulseProgress(command, argv, stdin = 0, stdout = 1, stderr = 2, os.close(p[0]) os.dup2(p[1], 1) os.dup2(stderr.fileno(), 2) + os.dup2(stdin, 0) + os.close(stdin) os.close(p[1]) stderr.close() |