[Haskell-cafe] EnableGUI hack changes working directory

2007-10-09 Thread apfelmus
Hello, the EnableGUI hack for getting a window in GHCi on Mac OS X (10.3.9 for me) unexpectedly changes the working directory for the running ghci [...] apfelmus$ ghci -i../../Hackage/SOE/src [...] GHC Interactive, version 6.6.1, for Haskell 98. *Main :! pwd

Re: [Haskell-cafe] EnableGUI hack changes working directory

2007-10-09 Thread Yitzchak Gale
apfelmus wrote: Is there a way to automate ghci ... EnableGUI -framework Carbon and typing enableGUI at the first prompt? I have the following in my .ghci file: -- Read GHCI commands from the file whose name is -- in the GHCIRC environment variable :def _load