avoiding command window with wxHaskell on Windows?

I'm experimenting with wxHaskell. I created a small program with it on Windows. (Well, small in source form, not so small in binary form :-) The program runs fine when invoked at a Windows command line. 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? I'm using GHC 6.6 and wxHaskell 0.9.4 on Windows XP. Dean

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? Regards, Jens

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?
Jens, Yes, that did the trick! Thanks a lot! Dean
participants (2)
-
Dean Herington
-
Jens Fisseler