question with command prompt and Runtime.exec()
I am using:
To start a MS-DOS application that connects to a server (connect, connects to a server). After doing that, I send info to the server.
The problem is that if:
connect = "whatever to connect";
it gets stuck. However if:
connect = "cmd /c start whatever to connect";
it works. But the command prompt appears and you see what is happening while the computer is getting connected to the server. Do you know why? I would like to connect to the server but without having to show the command prompt.
Thanks in advance