Re: Cocoa-dev Digest, Vol 2, Issue 302
Re: Cocoa-dev Digest, Vol 2, Issue 302
- Subject: Re: Cocoa-dev Digest, Vol 2, Issue 302
- From: Chad Armstrong <email@hidden>
- Date: Sat, 5 Mar 2005 23:15:24 -0600
Perhaps you could make a call like [mytask terminate]; within the
parent applications dealloc method. That might work.
Chad Armstrong
email@hidden
Date: Sun, 6 Mar 2005 03:41:11 +0000
From: Hamish Allan <email@hidden>
Subject: NSTask outliving parent
To: Cocoa List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed
I have a program which spawns an NSTask to run SSH, but every time I
abruptly terminate the spawning process (with ctrl-C or the terminate
button within the XCode IDE) the spawned process persists. Is there any
way I can arrange for NSTask-spawned processes to die with their parent
process?
Thanks,
Hamish
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden