shinyypig / matlab-in-vscode

A vscode extension for matlab.
MIT License
45 stars 4 forks source link

need quotation marks when run python file #8

Closed moolawooda closed 1 year ago

moolawooda commented 1 year ago

if using the pybackend mode, the extension will run a python command like python c:\Users\<USER NAME>\.vscode\extensions\shinyypig.matlab-in-vscode-0.3.2\pybackend\matlab_engine.py. However, if there are blank space in <USER NAME> , the former python command will interrupt before the blank space. Adding quotation marks can avoid this problem: python "c:\Users\<USER NAME>\.vscode\extensions\shinyypig.matlab-in-vscode-0.3.2\pybackend\matlab_engine.py".

shinyypig commented 1 year ago

Same as #5, and fixed in the new version, please update the extension and check if it works.

Thank you for pointing out this bug!

moolawooda commented 1 year ago

the new version works, thanks!