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

run_existing_command.py loads resources incorrectly on Windows #569

Open
keraJLi opened this issue Mar 17, 2019 · 1 comment
Open

run_existing_command.py loads resources incorrectly on Windows #569

keraJLi opened this issue Mar 17, 2019 · 1 comment

Comments

@keraJLi
Copy link

keraJLi commented Mar 17, 2019

In run_existing_command.py, paths to the resources are built by using os.path.join. However, this should be done by something like sublime_lib.ResourcePath, because sublime_api uses its own path format. Therefore, running SublimeREPL on windows causes (at least for me) resources not to be found, because / and \ are mixed in the resource name. The same issue occured here.

@keraJLi keraJLi changed the title SublimeREPL loads resources incorrectly run_existing_command.py loads resources incorrectly on Windows Mar 17, 2019
@Thom1729
Copy link

If ST2 support is needed, posixpath.join would also probably work.

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

2 participants