Re: Knowing when application terminates...
Re: Knowing when application terminates...
- Subject: Re: Knowing when application terminates...
- From: David Remahl <email@hidden>
- Date: Thu, 18 Jul 2002 23:48:56 +0200
>
Maybe i'm missing something, but if this is really all you're going to use
>
your APP_IS_NOT_RUNNING test for, then you don't actually need it at all:
>
>
NSWorkspace's launchApplication: method had this line in its docs:
>
"...Returns YES if the application is successfully launched or already
>
running, and NO if it can't be launched."
>
>
so, if you just want to avoid launching two copies of it, don't worry - just
>
go right ahead. It will not start a second copy.
>
>
this documentation was at:
>
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/ObjC
>
_classic/Classes/NSWorkspace.html
>
>
cheers,
>
mike
But I believe it will activate the application, which may or may not be what
the developer/the user wants.
/ David
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.