But my requirement is to pass arguments to GUI apps while launching it
& is it possible using Launch services? I will post my code of NSTask
for launching GUI app in 1-2 days as my Mac is in office.

Thanks,
Palav

On 5/24/08, Kyle Sluder <[EMAIL PROTECTED]> wrote:
> On Fri, May 23, 2008 at 2:13 PM, parag vibhute <[EMAIL PROTECTED]>
> wrote:
>> I tried using NSTask but it failed. I think NSTask is only useful to
>> launch plain unix exectuable (which does not resources, info.plist)
>
> This isn't strictly true (you were probably improperly using NSTask),
> but for launching GUI apps, you should really use Launch Services.
>
> --Kyle Sluder
>


-- 

There are many things in your life that will catch your eye but only a
few will catch your heart....pursue those'.
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to