diff options
author | Mike Fulbright <msf@redhat.com> | 2003-06-23 20:33:09 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-06-23 20:33:09 +0000 |
commit | 92d1ca6f00f2823e7f9b9460b4597d7b5fd226b3 (patch) | |
tree | 6f74951881a3c5954197a0bc7decb0838c316911 /gui.py | |
parent | d80adf68b3a58bc1cd1fe926cdbbc85de93e5c79 (diff) | |
download | anaconda-92d1ca6f00f2823e7f9b9460b4597d7b5fd226b3.tar.gz anaconda-92d1ca6f00f2823e7f9b9460b4597d7b5fd226b3.tar.xz anaconda-92d1ca6f00f2823e7f9b9460b4597d7b5fd226b3.zip |
fix for bug #97904, however I am not pleased with the brute force technique. Could not find graceful way to solve this problem documented.
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -928,6 +928,16 @@ class InstallControlWindow: child = os.fork() if (child == 0): + # close unneeded fd's + # Could not find any info on way to get list of existing fds + # other than scanning /proc/<pid>/fds (YUCK), so this will + # have to do. + for i in range(3,255): + try: + os.close(i) + except: + pass + os.execv(path[0], path + args) # we are going to check several times a second to see if |