Re: fork/exec vs NSTask
Re: fork/exec vs NSTask
- Subject: Re: fork/exec vs NSTask
- From: eveningnick eveningnick <email@hidden>
- Date: Sun, 24 Oct 2010 21:03:48 +0300
>
> Are you sure about that?
No, but by reading all the topics of people, who tried to launch a
simple (non bundled) binary with it, i left that idea - according to
gossips Launch Services act like Finder's doubleclick - if you
doubleclick on a binary file, it just won't work. And unfortunately on
the Apple website i couldn't find any info about those functions..
> Not great but should work.
> Better would be to use LaunchServices, if not possible I would use SMJobSubmit() (ServicesManagement framework).
Could you please explain why? What steps do i omit, if using fork/exec?
And, perhaps, there are some other possible ways to launch a binary?
Just for better understanding and better choice :)
George
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden