Fwd: Re: [Haskell-cafe] avoiding command window with wxHaskell on Windows?

Dean Herington heringtonlacey at mindspring.com
Fri Jun 29 23:22:15 EDT 2007

>Date: Mon, 25 Jun 2007 20:19:50 -0400
>To: Jens Fisseler <Jens.Fisseler at FernUni-Hagen.de>
>From: Dean Herington <heringtonlacey at mindspring.com>
>Subject: Re: [Haskell-cafe] avoiding command window with wxHaskell on Windows?
>Cc: haskell-cafe at haskell.org, wxhaskell-users at lists.sourceforge.net
>At 10:10 PM +0200 6/23/07, Jens Fisseler wrote:
>>On Sat, 23 Jun 2007, Dean Herington wrote:
>>>  But if I double-click the .exe file, I get a command window that 
>>>hangs around
>>>  (but doesn't appear to do anything, fortunately) until the 
>>>program terminates.
>>>  How can I avoid this command window?
>>With gtk2hs, using "-optl-mwindows" as a command line option for GHC lets
>>me get rid of this window. Perhaps it will do the same for wxHaskell?
>Yes, that did the trick!  Thanks a lot!

But now I've discovered that using "-optl-mwindows" creates a program 
that doesn't work when invoked from a command line.  Is there any way 
to create a program that can work when invoked either from a command 
line or through double-clicking?


More information about the Haskell-Cafe mailing list