summaryrefslogtreecommitdiffstats
path: root/xkb.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-30 20:48:25 +0000
committerMatt Wilson <msw@redhat.com>2000-06-30 20:48:25 +0000
commitedb6220d5b3685946c628fe0f22885fafb68af0a (patch)
treeca401b5434f6d53578b860e72dd16fa9fa195c39 /xkb.py
parent0020569bd9427484d4fecea103271b119151724b (diff)
downloadanaconda-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.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/xkb.py b/xkb.py
index e4dfa9514..60009c957 100644
--- a/xkb.py
+++ b/xkb.py
@@ -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