![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
11 years old
Join Date: Nov 2007
Posts: 79
Rep Power: 1
![]() |
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.
__________________
iload_0 iconst_1 ishl or iload_0 iconst_2 idiv or iload_0 iconst_2 iconst_1 imul idiv [1] & [2] use the smallest stack size |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|