so I see at least one other thread on this topic but no real solution.
the situation is:
using NSTask to run a shell command and using the return.
all the NSTask stuff is in a separate function which gets called
repeatedly from a loop.
works great until I run out out NSPipes - about 248 iterations before
[NSPipe pipe] returns nil.
I have the function wrapped in an autorelease pool and have tried
explicitly allocating and releasing the NSPipe.
the [myTask waitUntilExit] solution mentioned in another thread made
no difference.
does anyone understand what causes this limitaion?
is there another way to get a return from the shell?
system() does what I need, as often as you like, except I can't get
the return value.
cheers,
justin webster
_______________________________________________
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 [EMAIL PROTECTED]