• 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: How to create process independent of current process AND that takes command line arguments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create process independent of current process AND that takes command line arguments?


  • Subject: Re: How to create process independent of current process AND that takes command line arguments?
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 04 Apr 2008 10:35:45 -0600
  • Thread-topic: How to create process independent of current process AND that takes command line arguments?

> Even if NSTask doesn't have options for this, you can always call fork
> and execv, which is what NSTask uses under the hood.

But that gives you a child process, and there's no way that I found around
it without ugly hacks involving exec'ing a launchctl script...

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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: How to create process independent of current process AND that takes command line arguments?
      • From: Jonathan Prescott <email@hidden>
    • Re: How to create process independent of current process AND that takes command line arguments?
      • From: "Hamish Allan" <email@hidden>
References: 
 >Re: How to create process independent of current process AND that takes command line arguments? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Autorelease question
  • Next by Date: Re: core data - beyond the simple example
  • Previous by thread: Re: How to create process independent of current process AND that takes command line arguments?
  • Next by thread: Re: How to create process independent of current process AND that takes command line arguments?
  • Index(es):
    • Date
    • Thread