On Sep 3, 2008, at 7:58 PM, Paul Archibald wrote:
I do not have the source code to the subprocess, so I think I will need to find another solution. I can't call setvbuf from my code, can I?

I don't know about that - but: The documentation describes NSTask and NSPipe and they have an example of how it all works - and it does work perfectly for me (on 10.5, Xcode 3.0):

<http://developer.apple.com/documentation/Cocoa/Conceptual/OperatingSystem/Tasks/pipes.html#//apple_ref/doc/uid/20000805 >

Hope this helps.

Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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]

Reply via email to