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

Brian Smith brianlsmith at gmail.com
Sun Jun 19 17:33:58 EDT 2005


I am using the CVS HEAD (6.5) from a few days ago.

On 6/19/05, Krasimir Angelov <kr.angelov at gmail.com> wrote:
> 
> 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.exeto
> > 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
> >
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/cvs-ghc/attachments/20050619/f4742707/attachment.htm


More information about the Cvs-ghc mailing list