Runtime.exec on windows opens an empty console window

Rutger Ovidius ovid@mailandnews.com
Tue Sep 23 20:21:00 GMT 2003


gcc version 3.3.1 (mingw special 20030804-1)
When using a simple call to "Runtime.getRuntime().exec( "some app", null, new 
File( "working dir" ) ); and compiled with gcj, the spawn'd app has its own 
completely empty console window.
I don't know if this is related to the c++filt flickering problem thread, but 
I can't seem to get this app to spawn without a console window. -mwindows 
doesn't seem to make a difference.
In java, no such console window is created. Is there a way around this?


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /