• 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
NSTask taking control of my program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSTask taking control of my program
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: NSTask taking control of my program
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: nextKeyView broken
  • Next by Date: Re: NSTask taking control of my program
  • Previous by thread: Re: nextKeyView broken
  • Next by thread: Re: NSTask taking control of my program
  • Index(es):
    • Date
    • Thread