Re: Starting X server from another program
Re: Starting X server from another program
- Subject: Re: Starting X server from another program
- From: Ben Eisenbraun <email@hidden>
- Date: Wed, 18 Jul 2007 12:30:50 -0400
On Wed, Jul 18, 2007 at 09:04:13AM -0500, Dave Williss wrote:
> I'm trying to find a way to have an X11 application start X11.app if
> it's not already running.
I don't usually call the .app directly. I have a bunch of wrapper
scripts that do this or something similar:
Xquartz $DISPLAY -depth 8 2> /dev/null &
while [ ! -e /tmp/.X11-unix/X${DISPLAY#:} ]; do
sleep 1
done
quartz-wm &
> I'm wondering if there's a more accepted way under OS X to have one
> program launch another.
You could try "open -a /path/to/X11.app".
-ben
--
Ben Eisenbraun
Structural Biology Grid
http://sbgrid.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden