Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Updating the build script to work when python is installed to a path containing a space. #15707

Merged
merged 1 commit into from Jan 4, 2018
Merged

Conversation

tannergooding
Copy link
Member

FYI. @nategraf, @jkotas, @brianrob, @BruceForstall

#15611, which was merged yesterday, introduced a new Python dependency in build.cmd. The delayed expansion does not work when Python is installed to a path containing a space and you will wind up with a failure similar to: C:\Program: can't open file 'Files\Python36\python.exe': [Errno 2] No such file or directory

This resolves the issue by ensuring the expanded variable is surrounded with quotes.

Copy link

@nategraf nategraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Thanks for finding and fixing this!

@jkotas jkotas merged commit 8337aa4 into dotnet:master Jan 4, 2018
@tannergooding tannergooding deleted the python-fix branch January 17, 2018 01:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants