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

Fails when python is installed in a dir with space (on windows) #34

Closed
joewood opened this issue Aug 4, 2012 · 2 comments
Closed

Fails when python is installed in a dir with space (on windows) #34

joewood opened this issue Aug 4, 2012 · 2 comments

Comments

@joewood
Copy link

joewood commented Aug 4, 2012

When the code determines the path to the python executable i may contain a path a space in it on Windows (e.g. c:\program files (x86)\python27). The path is later used as a command without quotation marks.
For Windows the command should be quoted just in case.

A workaround is to change the python path to c:\progra~2\pyhton27.

@tnm
Copy link
Collaborator

tnm commented Oct 24, 2012

This is out-moded since 0.3.0.

@tnm tnm closed this as completed Oct 24, 2012
@earshinov
Copy link

@tnm Can you please clarify what "out-moded" means for those unfamiliar with the slang?

The issue still persists in pygments.rb v1.2.1 (which is the most recent version, published in December 2017 according to https://rubygems.org/gems/pygments.rb/versions/).

It is a crying shame that spaces in paths are still an issue in the 21st century, at least in Ruby world.

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

No branches or pull requests

3 participants