From 47dd280a5536868190d77006a1cf3e98cb7ce8b0 Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Thu, 1 Aug 2002 00:37:53 +0000 Subject: function to execute mini-wm --- xserver.py | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- cgit