HOME: getEnv: does not exist

Ketil Malde ketil+haskell at ii.uib.no
Mon Apr 18 09:26:48 EDT 2005

Malcolm Wallace <Malcolm.Wallace at cs.york.ac.uk> writes:

> I think runghc is acting like GHCi, and trying to read the file
> $HOME/.ghci on startup.

I toyed with this, and it seems like runghc is forking off a ghc
process, which then tries to read .ghci (and possibly .inputrc) from
the $HOME directory.

Unfortunately, while runghc apparently parses -ignore-dot-ghci
(i.e. it refuses illegal options), it later on seems to treat it's a
source file to run.

As far as I can tell.

If I haven't seen further, it is by standing in the footprints of giants

More information about the Glasgow-haskell-users mailing list