Disable shell window on win32 when running external command line programs

Ranjit Mathew rmathew@hotmail.com
Tue Jun 10 04:02:00 GMT 2003


> On some compilers (like Free Pascal which also uses GNU binutils from Mingw)
> that's a matter of adding a link-time switch. Isn't there one we can use on
> GCJ, so the user can generate an .EXE header for a console or a windowed app?

I think you're talking of the "-mwindows" link time switch
to gcc, right?

Note however that we are talking of console windows opened
for *programs spawned by a GUI program* via Runtime.exec( ),
so this switch wouldn't help us at all, except in suppressing
the window for the GUI program itself.

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/




More information about the Java mailing list