SublimeREPL icon indicating copy to clipboard operation
SublimeREPL copied to clipboard

run_existing_command.py loads resources incorrectly on Windows

Open keraJLi opened this issue 5 years ago • 1 comments

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 avatar Mar 17 '19 11:03 keraJLi

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

Thom1729 avatar Mar 19 '19 16:03 Thom1729