Ticket #1828 (closed merge: fixed)
ghc doesn't properly quote space-containing paths on Windows.
| Reported by: | guest | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.2 |
| Component: | Compiler | Version: | 6.8.1 |
| Keywords: | Cc: | ||
| Operating System: | Windows | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
1) Install ghc 6.8.1 on Windows XP to "C:\Program Files\ghc\".
2) Run ghc newton.hs (any hs file should work here) from your home directory.
Output :
'C:\Program' is not recognized as an internal or external command, operable program or batch file. C:\Program Files\ghc\bin/windres: no resources
Something somewhere in the compilation process seems to try to run something in "C:\Program Files\ghc\" but, even though the program it wants to run has spaces in its path, it doesn't quote it properly.
Change History
Note: See
TracTickets for help on using
tickets.
