Skip to content
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

test_run: support spaces in sys.executable path #144

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomjakubowski
Copy link

On my Mac, hatch creates its virtual environments in $HOME/Library/Application Support. So the python3 executable ends up at a path with a space in it.

The space in the path caused test_run() to fail, because without quotes the first utis.run() call would try and execute $HOME/Library/Application (up to the space) instead of the python3 executable.

On my Mac, hatch creates its virtual environments in
`$HOME/Library/Application Support`.  So the python3 executable ends up
at a path with a space in it.

The space in the path caused `test_run()` to fail, because without
quotes the first `utis.run()` call would try and execute
`$HOME/Library/Application` (up to the space) instead of the python3
executable.
@tomjakubowski
Copy link
Author

This was kind of an obscure error. Let me know if I can explain it better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant