Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Having an app to restart



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

This email sent to email@hidden
References: 
 >Having an app to restart (From: Fabrizio Giudici <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.