Wednesday, June 19, 2002 05:33 AM
My question is occured during the program call the cmd.exe in windows or gnome-terminal in linux.I want the program to invoke a terminal and then execute the command on the terminal later defined by the program.The process is like that a you compile and executive a exe file . Visual c++ will executive your exe file in a terminal and in the terminal you can input the required value and get the result.The executive process is like that you run the exe file straightly in the terminal,it can provide a prompt to input the new value and it can output the result too. In my option ,I want to obstain the goal. I had tried it with Runtime.exec() but failed at last.
So i'm very puzzled about how to obstain the aim.