Re: NSTask objectalloc problem

2010-04-29 Thread Shawn Erickson
On Thu, Apr 29, 2010 at 6:04 PM, Tom Foutz 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 ou

Re: NSTask objectalloc problem

2010-04-29 Thread Tom Foutz
Worked like a charm. I used waitUntilExit, and the number of living objects dropped immediately. Thanks! -- Tom ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mod

Re: NSTask objectalloc problem

2010-04-29 Thread Michael Ash
On Wed, Apr 28, 2010 at 2:16 PM, Tom Foutz wrote: > I am trying to run a back-up type of unix script whenever a file > changes in the directory.  However, my implementation, when viewed in > "Instruments" with "ObjectAlloc", demonstrates an ever-increasing > number of living objects. > > A problem

Re: NSTask objectalloc problem

2010-04-29 Thread Jens Alfke
On Apr 28, 2010, at 11:16 AM, Tom Foutz wrote: I am trying to run a back-up type of unix script whenever a file changes in the directory. However, my implementation, when viewed in "Instruments" with "ObjectAlloc", demonstrates an ever-increasing number of living objects. Isn't that because

NSTask objectalloc problem

2010-04-29 Thread Tom Foutz
I am trying to run a back-up type of unix script whenever a file changes in the directory.  However, my implementation, when viewed in "Instruments" with "ObjectAlloc", demonstrates an ever-increasing number of living objects. A problematic dummy version: ##