Re: NSTask output only after termination of NSTask
Re: NSTask output only after termination of NSTask
- Subject: Re: NSTask output only after termination of NSTask
- From: "Hamish Allan" <email@hidden>
- Date: Mon, 18 Feb 2008 22:52:20 +0000
The program whose output you're trying to read may be designed to
behave differently according to whether or not its stdout is a tty.
Hamish
On Feb 18, 2008 10:11 PM, [ nexUmoja ] Fabian Jäger
<email@hidden> wrote:
> Hey guys,
> I have the following problem: I try to use the common mechanism to
> read the output of an NSTask by using NSFileHandle and
> NSFileHandleReadCompletionNotification...
> Unfortunately the output is displayed as a huge chung only after the
> termination of the NSTask. If I start the executable in the terminal
> the ouput comes continously and not after the termination! What could
> be the problem? Maybe the output comes too fast and fills the buffer?
> Please help me :)
>
> Fabian
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden