rickg@toshiba.tic.oz.au (Rick Gunderson) (11/21/90)
How can a process determine if the SunView window manager is running? I want to do this because I want to have a process monitor that starts up SunView and, when the monitor verifies that SunView is running, starts up other processes that use SunView. It is easy enough to start up a process that requires SunView by setting the ``WINDOW_PARENT'' and ``WIN_ENV_PLACEHOLDER'' variable correctly, but I need to make sure that SunView is actually running first. What I want: Process Monitor | +------------+---+-----------+ | | | SunView Process A Process B The current situation: SunView | | Process Monitor | +--------+-------+ | | Process A Process B I don't want the Process Monitor to be a child of SunView, I want it to be the parent. I would prefer not to have to snoop through the process list to find out if SunView is running; it would be nice if there was some kind of SunView function call. I'm pretty sure I could do this under OpenWindows (simply by trying to establish a connection to the X server), but the first pass of this has to be done under SunView. Thanks in advance, = Rick Gunderson - Toshiba International Corp. = = ACSnet: rickg@toshiba.tic.oz Internet: rickg@toshiba.tic.oz.au =