On Mon, Jul 21, 2008 at 8:56 AM, Yann Disser <[EMAIL PROTECTED]> wrote: > What I am trying to figure out, is how to respond right away to every single > line that is written on stdout without waiting for the process to be > finished.
There are many examples of this. See <http://developer.apple.com/samplecode/Moriarity/index.html> for one of them. You need to get an NSPipe, create a corresponding NSFileHandle and use -readInBackgroundAndNotify. -- Finlay _______________________________________________ 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]