I am trying to write a program that maintains different installs of another program including launching the program. To do so, I am using NSTask. Now when I quit my cocoa app. the NSTask app dies. The task that the NSTask is running is a Java program, not sure if that makes a difference. According to what I have read, the application should keep running even when the parent task exits. I am running my cocoa app from in XCode4, not sure if that has any effect on it. Could it be that I am not specifying standard* streams so when the parent app quits, those streams are closed and thus the process?
I can probably find out the answer by trying different things, but I'd like to get a better insight for what is going on and why the child task is terminating. _______________________________________________ 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 arch...@mail-archive.com