±Û¾´ÀÌ :Yoon Kyung Koo 1999³â 5¿ù 06ÀÏ 17:07:49
In Reply to: [´äº¯ ¾È¿Ã¶ó¿À¸é ÆøÆÄ~~~~~~ Á¦¹ß] ¿©±ä ´äº¯ÀÌ ³Ê¹« ¾È¿Ã¶ó¿Í¿ä..... posted by °íºÀ¼ö on 1999³â 5¿ù 05ÀÏ 15:29:47:
I think it does work.
If you want to get the output of execed process,
you can use like this :
Process ps = Runtime.getRuntime().exec("java Goo");
try {
BufferedReader br=
new BufferedReader(new InputStreamReader(ps.getInputStream()));
String str=null;
while ((str=br.readLine())!=null) {
System.out.println("OUTPUT:"+str);
}
} catch (IOException ie) {
// do something to handle exceptions
}