Killing child tasks
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.