in Linux i run C as ./<filename> the same program i want to run from Java In java i tried using exec("./filename>") i did'nt get any response. how should i run
I am software engeer... and I will help you. If you are Priya Mathibalan. Thank you Priya.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35253
7
posted
0
The Java Intermediate FAQ links to an article that describes how to properly use Runtime.exec(). There are some aspects to it that are not obvious and often cause problems. But it works well in general.