• 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
Killing child tasks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Killing child tasks


  • Subject: Killing child tasks
  • From: Will Thimbleby <email@hidden>
  • Date: Wed, 5 Jun 2002 12:07:25 +0100

Hi,

I am using NSTasks to access other programs through standard input/output. This all works, however if the user force-quits my program, the tasks continue to run, unnoticed in the background using processor power. Is there a way to ensure the child tasks are attached to the main program so that when it exits the child tasks are forced to exit as well.

Also: Is there an easy way to get them to run as nice, so that other programs still have priority.

Cheers

Will
_______________________________________________
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: Killing child tasks
      • From: Phillip Morelock <email@hidden>
  • Prev by Date: Re: Any way to draw a PixMapHandle into an NSView??
  • Next by Date: Thread safe programming
  • Previous by thread: Re: Any way to draw a PixMapHandle into an NSView??
  • Next by thread: Re: Killing child tasks
  • Index(es):
    • Date
    • Thread