getting an Process Execute a command.
Hi All,
can I get the process created by the following code
Process p = Runtime.getRuntime().exec("db2cmd");
to execute some commands?
My problem is I am getting a new window created by executing this line.
My commands can be executed in the new window that gets created, how can I get a handle of this new window so that I can execute some commands in the new window.
Any suggestions will be helpful.
Regards
Ayusman

