On Thu, Apr 29, 2010 at 6:04 PM, Tom Foutz <tom.fo...@gmail.com> wrote: > Worked like a charm. I used waitUntilExit, and the number of living > objects dropped immediately. Thanks!
Note calling waitUntilExit without also draining stdout/err of the running process _could_ cause you problems. If the process you run outputs enough information into one of those two pipes, enough to fill the pipe's buffer, the process will not exit because it will block wanting to write more data into the pipe. This would cause the thread in your process to block on waitUntilExit... wedged. So either you need to drain those pipes in a thread not blocked on waitUntilExit or you need to be sure that the process you launch wont fill the pipe. -Shawn _______________________________________________ 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