Skip navigation.
 
mlRe: NSTask output only after termination of NSTask
FROM : Hamish Allan
DATE : Mon Feb 18 23:52:20 2008

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
<fabian.<email_removed>> 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

Related mailsAuthorDate
mlNSTask output only after termination of NSTask [nexUmoja] Fabia… Feb 18, 23:11
mlRe: NSTask output only after termination of NSTask Hamish Allan Feb 18, 23:52
mlRe: NSTask output only after termination of NSTask [nexUmoja] Fabia… Feb 19, 07:37
mlRe: NSTask output only after termination of NSTask Alastair Houghton Feb 19, 13:03