Determining if SunView is Running
Rick Gunderson
rickg at toshiba.tic.oz.au
Thu Nov 22 01:30:23 AEST 1990
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 at toshiba.tic.oz Internet: rickg at toshiba.tic.oz.au =
More information about the Comp.sys.sun
mailing list