This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Guys i am facing a problem that is that i need to run few commands in command prompt through java. And i dont want to display command prompt and i want the output that would come in command prompt to come in java console.
Partially i have done the job by using a process and using runtime command. I am calling the inputstreambuffer to get it.
Now the problem is that at times i need to press enter to execute the command in command prompt so it hangs in java. Any Solution guys??
Do let me know if you want the code to know more about the problem.