• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTask output only after termination of NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTask output only after termination of NSTask
      • From: " [nexUmoja] Fabian Jäger" <email@hidden>
References: 
 >NSTask output only after termination of NSTask (From: [nexUmoja] Fabian Jäger <email@hidden>)

  • Prev by Date: Accessing buffers in NSData/NSMutableData under garbage collection
  • Next by Date: NSToolbarItem migration
  • Previous by thread: NSTask output only after termination of NSTask
  • Next by thread: Re: NSTask output only after termination of NSTask
  • Index(es):
    • Date
    • Thread