On 22 Jul 2010, at 05:30, Kyle Sluder wrote:

> On Wed, Jul 21, 2010 at 3:27 AM, Elizabeth Kellner <ekell...@gmail.com> wrote:
>> Second is that this app is being launched programmatically from
>> another app, using [NSTask launchedTaskWithLaunchPath:arguments:].  If
>> I launch the app directly, it does not seem to impede shutdown.  Is
>> there somehow a way for a retained subprocess to cause a shutdown to
>> abort?
> 
> You should be using Launch Services to launch applications. See the
> documentation for LSOpenApplication.

In most cases you can use NSWorkspace (e.g. via -launchApplication:), which is 
simpler.

Kind regards,

Alastair.

--
http://alastairs-place.net




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to