I am trying to execute command line arguments via Java. For example:
// Execute command
String command = \"cmd /c start cmd.exe\";
Process child = Runtime.ge
This because every runtime.exec(..)
returns a Process
class that should be used after the execution instead that invoking other commands by the Runtime
class
If you look at Process doc you will see that you can use
getInputStream()
getOutputStream()
on which you should work by sending the successive commands and retrieving the output..