![]() |
Jython and JRuby help
How would i go about redirecting output?
In java, i do System.setOut(new ConsolePrintStream(....)) and same for System.err, and for System.in i do System.setIn(new ConsoleInputStream(...)). Now, but in JRuby and Jython, when I do 'print "hi"' and 'puts 'hi'' respectedly, it prints to the command-line console, and not to my JTextArea 'console' as BeanShell does. |
| All times are GMT -5. The time now is 4:54 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC