글쓴이 :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
}