Simon and I have no idea what's going on here.  It doesn't happen for me
(on my Windows laptop).

Can anyone else reproduce this behaviour?  If so, is anyone willing to
dive in a bit deeper and find out more about what is going on?

Regardless, creating a Trac bug report would ensure it doesn't lost.

Simon

| -----Original Message-----
| From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
| On Behalf Of Neil Mitchell
| Sent: 29 July 2006 20:16
| To: glasgow-haskell-bugs@haskell.org
| Subject: GHCi on "loosing" its handles takes 100% CPU
| 
| Hi
| 
| On Windows, GHC 6.4.2, the following program:
| 
| import System.Process
| main = runInteractiveCommand "ghc"
| 
| When run terminates immediately, as expected, but leaves an instance
| of ghc running. The ghc process takes up 100% of the CPU time, and
| seemingly does nothing.
| 
| If "ghci" is used as the argument instead of "ghc", then both ghc and
| ghci are left running, with ghc on 100% CPU time.
| 
| In contrast, if hugs or Yhc or edit (or pretty much any program on my
| system) is run in exactly the same way, they terminate as soon as the
| main program is finished.
| 
| Is there any chance that GHC could do this too?
| 
| Thanks
| 
| Neil

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to