diff options
author | Mike Fulbright <msf@redhat.com> | 2002-08-01 00:37:53 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-08-01 00:37:53 +0000 |
commit | 47dd280a5536868190d77006a1cf3e98cb7ce8b0 (patch) | |
tree | d7c938c564b1f7929c8c1cb2ae8f25daec5f8d3f | |
parent | 7d2bb6e52d89cddad202e1382813b25115675572 (diff) | |
download | anaconda-47dd280a5536868190d77006a1cf3e98cb7ce8b0.tar.gz anaconda-47dd280a5536868190d77006a1cf3e98cb7ce8b0.tar.xz anaconda-47dd280a5536868190d77006a1cf3e98cb7ce8b0.zip |
function to execute mini-wm
-rw-r--r-- | xserver.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/xserver.py b/xserver.py index ef4b1e7f8..9ebcedc27 100644 --- a/xserver.py +++ b/xserver.py @@ -78,6 +78,17 @@ def mouseWindow(mouse): screen.finish() return 1 +# start miniWM +def startMiniWM(root='/'): + childpid = os.fork() + if not childpid: + args = [root+'/'+'/usr/bin/mini-wm', '--display', ':1'] + os.execv(args[0], args) + sys.exit (1) + + return + + # start X server for install process ONLY def startX(resolution, nofbmode, video, monitor, mouse, keyboard): global serverPath |