Skip to content

ghcii.sh fails if ghc's path contains spaces

Invoking ghcii.sh from cygwin fails if ghc is installed in "C:\Program Files", because the path has spaces in it. A fix is changing the line

exec $0/../ghc --interactive {1+"@"}

to

exec "$0"/../ghc --interactive {1+"@"}

Trac metadata
Trac field Value
Version 6.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information