The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Runtime Class Information



This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Windows and Runtime.exec()

Posted by Peter Kelley on February 08, 2002 at 4:40 PM

I have a some straight forward code that uses Runtime.exec() to launch an external program which works fine ... almost. Everytime it runs, a new command line window appears and captures the focus. As I am running this program a lot, and it performs this operation a lot, it virtually ties up my PC since I cannot keep the focus on any other window. I have tried cmd /c but that does the same thing. I am running JDK 1.3 on W2K. Any ideas?




Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us