I later monitor the pid that I squirreled away from within a periodic timer:

err = GetProcessForPID( pid, &psn );

If GetProcessForPID returns an error, I know the process is not running.

Erg




________________________________
From: Scott Ribe <scott_r...@killerbytes.com>
To: Erg Consultant <erg_consult...@yahoo.com>; cocoa-dev@lists.apple.com
Sent: Tuesday, June 9, 2009 7:19:11 PM
Subject: Re: [NSTask] -launch return

How are you attempting to monitor the child process?

-- 
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice


      
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to