更新时间:2023-12-05 19:52:04
a) how to bind a windows console application with java application?
link provided by the courtesy of Google search query:
b) in short:
InputStream is = p1.getInputStream();
OutputStream os = p1.getOutputStream();
(supplied by the obvious http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Process.html)