Re: How to create process independent of current process AND that takes command line arguments?
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: "Hamish Allan" <email@hidden>
- Date: Fri, 4 Apr 2008 18:08:08 +0100
On Fri, Apr 4, 2008 at 5:35 PM, Scott Ribe <email@hidden> wrote:
> 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...
You want a process that is re-parented to be a child of process 1,
like when you put parentheses round a process to be backgrounded in
bash?
I don't know how this is done, but bash is open source. I very much
doubt that Cocoa provides any mechanism for this, though (NSTask only
really caters for the common case).
Hamish
_______________________________________________
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