That's right, the "open" command is an interface to Launch Services,
which does exactly what it would do if the user double-clicked on the
application: if the application is not already running, Launch Services
launches it; if it is already running, then Launch Services just brings
it to the front.
Geoff
On 8 Jul 2006, at 16:33, Fabrizio Giudici wrote:
Basically it looks like the sleep 1 is fundamental - I think because
if I try to relaunch the application itself while it's still alive,
Mac OS X doesn't nothing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden