-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show warning about path with spaces in windows when running scripts #5001
Comments
Thanks @jneira! Any interest in submitting a PR? |
I can to try it out, although i never had to modify |
|
@mattaudesse hi! i think the pr could be merged (if @dbaynard thinks last changes are good) |
Thanks, @mattaudesse, and thanks @jneira! Haven't been able to get to this. |
Steps to reproduce
local-program-path
of%STACK_ROOT%\config.yaml
example.hs
:stack example.hs
.Expected
Show the same warning as you run
stack <command>
:Actual
It shows nothing about the possible issues caused by that configuration.
The original issue was in haskell-ide-engine: a user with spaces in
%USER_PROFILE%
(very common in windows versions below 10 or win 10 migrated from older one) and the defaultlocal-programs-path
got an error running the script to install hie executable:Setting
local-programs-path
without spaces fixed the error.(As a side note i found the warning message a little bit weird:
'8 dot 3'
?The current 'shortest' path is: D:\bin\s t a c k\
? and has a typo:configuation
)Stack version
Method of installation
The text was updated successfully, but these errors were encountered: