• 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
Re: Cocoa-dev Digest, Vol 2, Issue 302
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: NSTask outliving parent
      • From: j o a r <email@hidden>
  • Prev by Date: Re: bindings for nsmatrix
  • Next by Date: Re: bindings for nsmatrix
  • Previous by thread: Re: get superclass instance
  • Next by thread: Re: NSTask outliving parent
  • Index(es):
    • Date
    • Thread