-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Vscode is auto launching morse beacuse of shebang in python file #11687
Comments
Hi @A-l-e-k-s-G Can you please send the logs from the Python output channel mentioned in the issue template? It contains the commands extension runs, which maybe leading to this. I am interested in the commands sent by the extension upon saving the file. |
I see the following being executed on saving the file
I assume that's what you were talking about @A-l-e-k-s-G ? Also please send your |
Must be the line you mentioned, i guess. settings.json ws
settings.json user
Logs
|
Can you try running this manually in terminal and see if it's launching morse for you? |
Yes, the command is launching it. |
@A-l-e-k-s-G As a workaround you can either add |
This should be fixed in the next release. |
Environment data
Expected behavior
After editing and saving a python file with a shebang no external application should be launched.
Actual behavior
After saving a python file with the shebang "#! /usr/bin/env morseexec" Morse/Blender is executed.
It should not be executed automatically, vscode should just save the file.
This behavior is happening with this file for example
https://github.com/morse-simulator/morse/blob/master/examples/tutorials/ros_navigation/default.py
Steps to reproduce:
You can reproduce this by running the tutorial from here
https://www.openrobots.org/morse/doc/stable/user/installation.html
and try to edit https://github.com/morse-simulator/morse/blob/master/examples/tutorials/ros_navigation/default.py in vscode.
The text was updated successfully, but these errors were encountered: