Hi all
I have a question about using the classes in base to redirect standard
output to a file without too much hassle or re-writing of code. I have
classes that print themselves to standard output like this:
[ someObject show ];
..but would like to be able to redirect this behaviour within code and
possibly in response to user input. Something like...
[ outputFile appendedWith:[ someObject show ]];
I suspect that NSPipe and/or NSFileHandle might be involved but welcome
any tips.
TIA
Michael
--
______________________________________________
Hopkins Research Touch the Future
______________________________________________
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep