diff options
author | Matt Wilson <msw@redhat.com> | 2000-06-30 20:48:25 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-06-30 20:48:25 +0000 |
commit | edb6220d5b3685946c628fe0f22885fafb68af0a (patch) | |
tree | ca401b5434f6d53578b860e72dd16fa9fa195c39 /xkb.py | |
parent | 0020569bd9427484d4fecea103271b119151724b (diff) | |
download | anaconda-edb6220d5b3685946c628fe0f22885fafb68af0a.tar.gz anaconda-edb6220d5b3685946c628fe0f22885fafb68af0a.tar.xz anaconda-edb6220d5b3685946c628fe0f22885fafb68af0a.zip |
patch from hj to wait on setxkbmap
Diffstat (limited to 'xkb.py')
-rw-r--r-- | xkb.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -42,9 +42,11 @@ class XKB: args = args + ("-variant", variant) path = ("/usr/X11R6/bin/setxkbmap",) - if (os.fork () == 0): + child = os.fork () + if (child == 0): os.execv (path[0], path + args) + pid, status = os.waitpid(child, 0) return # don't use any of our code, since it seems to corrupt |