id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
4266	ghci can't find ghc.exe on Windows 7 if the path contains spaces	refold		"This was first reported on the [http://trac.haskell.org/haskell-platform/ticket/136 Haskell Platform trac]. Platform installer puts binaries in `$PROGRAMFILES\Haskell Platform\$PLATFORMVERSION\bin`, and this causes ghci to fail on Windows 7 (but not XP!) with 'Unable to locate ghc.exe' when run from the command line. Installing HP to `C:\hp2010` fixes the issue.

Looking at ghci.c, this is caused either by a call to `SearchPath`, or a call to `GetShortPathName`. The latter looks more suspect. I don't have access to a Windows 7 machine currently, so I can't fix this myself."	bug	closed	high	7.0.1	GHCi	6.12.3	fixed			Windows	x86_64 (amd64)	GHCi crash					
