This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I have an external application that I want to call in my Java program. I have already successfully implemented the call. Now, the twist is that, if I hold "Ctrl" and execute this external program, a console (for debug) will pop up. I'm not aware of any command line switch that can do the same thing for this particular program. Is there a way, in Java, to simulate the action of "press and hold "Ctrl", then execute the external program"?