Hi

I just copied what Hugs does, or at least I thought I did - does Hugs do
ShellExecute?

No, Hugs does something thats not very clever, i.e. spawning notepad.
I've never used Hugs' :edit command on Windows. WinHugs on the other
hand has a clever set of rules which launches using ShellExecute if
that seems sensible, finds good editors (TextPad, Vim, Emacs etc) and
launches using them and then if all else fails drops down to Notepad.

It would be nice if GHC had the same kind of logic, but thats quite a
lot of work. You are welcome to share the logic of WinHugs, but thats
written in C.

Thanks

Neil
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to