Patch for GHCI/runghc: don't quit early if stdin is invalid

Krasimir Angelov kr.angelov at gmail.com
Sun Jun 19 03:41:36 EDT 2005


Which GHC version are you using? I also had such problem with Visual
Studio some time ago, but it is fixed now.

Cheers,
  Krasimir

On 6/19/05, Brian Smith <brianlsmith at gmail.com> wrote:
> Some text editors (e.g. Textpad) apparently do not pass a valid stdin to
> runghc.exe when they execute it. This causes the Windows-specific
> "GHC.ConsoleHandler.flushConsole stdin" call to fail, causing runghc.exe to
> stop. I doubt that the attached patch is the best way to work around this
> problem, but I am offering it in hopes that a real solution will come along.
> 
> - Brian
> 
> 
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc
> 
> 
> 
>


More information about the Cvs-ghc mailing list