• 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 and input - Related question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask output and input - Related question


  • Subject: Re: NSTask output and input - Related question
  • From: email@hidden
  • Date: Thu, 20 Jan 2005 13:33:40 -0500 (EST)
  • Importance: Normal

This brings a point to mind.
I have in several tasks I've interacted with, had the worst time trying to
get the task output data. I set up the pipes exactly as prescribed in the
link below and yet I get either no output from the task, or I get partial
data. Is there a flaw in the NSTask or the NSPipe which causes it not to
get all the data correctly?
I've tried writing my own clu's to test it and the problem is worse.
Whether I use printf and make sure to use a new line character at the end,
or I use NSLog, fprintf(stdout,"text %i\n",variable); or what ever I tend
to get absolutely no data, or I get only partial data.

April.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTask output and input - Related question
      • From: Rudi Sherry <email@hidden>
References: 
 >Re: NSTask output and input (From: Will Mason <email@hidden>)
 >Re: NSTask output and input (From: Mai Bui <email@hidden>)
 >Re: NSTask output and input (From: Mai Bui <email@hidden>)

  • Prev by Date: Is there any support in Cocoa for stupidly encoded UTF-8 string?
  • Next by Date: Re: Assigning a custom formatter to a tablecolum in email@hidden
  • Previous by thread: Re: NSTask output and input
  • Next by thread: Re: NSTask output and input - Related question
  • Index(es):
    • Date
    • Thread