• 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: Is there a way to route NSLog to standard out?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to route NSLog to standard out?


  • Subject: Re: Is there a way to route NSLog to standard out?
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 11 Jul 2002 16:39:10 +0200

On Thursday, July 11, 2002, at 02:53 , Gjermund Gusland Thorsen wrote:

It's quiet annoying to compile a Foundation tool where the output cannot be piped :-(

It would be all that. Luckily, there never was such problem.

Or did NeXT invent any funky pipes for standard NS?

Nope. Instead they very reasonably used existing one -- stderr, namely.

my.app NS> ./my_output_test.txt

What about "my.app 2>blah.txt"?
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Cocoa Printing, Getting correct margins
  • Next by Date: Re: NSView and performance drawing again. A Result!
  • Previous by thread: Re: Cocoa Printing, Getting correct margins
  • Next by thread: Re: Is there a way to route NSLog to standard out?
  • Index(es):
    • Date
    • Thread