• 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
NSTask output only after termination of NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTask output only after termination of NSTask


  • Subject: NSTask output only after termination of NSTask
  • From: [nexUmoja] Fabian Jäger <email@hidden>
  • Date: Mon, 18 Feb 2008 23:11:00 +0100

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: Alastair Houghton <email@hidden>
    • Re: NSTask output only after termination of NSTask
      • From: "Hamish Allan" <email@hidden>
  • Prev by Date: Re: Where to enforce paragraph-cohesion policy in text system?
  • Next by Date: Accessing buffers in NSData/NSMutableData under garbage collection
  • Previous by thread: Automatically updating view inside NSScrollView
  • Next by thread: Re: NSTask output only after termination of NSTask
  • Index(es):
    • Date
    • Thread