forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Environment data
- VS Code version: 1.45.0
- Extension version (available under the Extensions sidebar): 2020.4.76186
- OS and version: Ubuntu 18.04.04
- Python version : 3.6.9
- Type of virtual environment used: no environment
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.
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug