NSTask taking control of my program
NSTask taking control of my program
- Subject: NSTask taking control of my program
- From: Chad Armstrong <email@hidden>
- Date: Fri, 26 Sep 2003 01:45:15 -0500
I'm doing some work with NSTask, and something does not seem to be
working how I expected it should. From my own understanding, and even
after reading through some of Apple's websites on NSTask, it seems that
when an NSTask is launched, it is its own process. And if it is its
own separate process from the parent program, shouldn't it run
separately, and not necessarily affect the parent? In my program, when
I run the task, I want to have a Cancel/Stop option to terminate the
task if I wish, however, when the program was running, I couldn't click
on any buttons to kill the task. It seems that the task has taken
control over the parent application, stopping any further interaction
until the task is complete.
What might I be missing here, or is my concept of what the NSTask is
doing skewed?
Chad Armstrong
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.