• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: fork/exec vs NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: fork/exec vs NSTask
      • From: Thomas Clement <email@hidden>
References: 
 >fork/exec vs NSTask (From: eveningnick eveningnick <email@hidden>)
 >Re: fork/exec vs NSTask (From: Thomas Clement <email@hidden>)

  • Prev by Date: What alhorithm does the launcher follow while processing bundle?
  • Next by Date: Re: fork/exec vs NSTask
  • Previous by thread: Re: fork/exec vs NSTask
  • Next by thread: Re: fork/exec vs NSTask
  • Index(es):
    • Date
    • Thread