Closed
Description
Environment data
VS Code version: 1.19.0
Python Extension version: 0.9.0
Python Version: 3.5.2
OS and version: Ubuntu 16.04 64bit
Actual behavior
os.environ['PATH'] will raise KeyError(key) when running a program using Ctrl+F5 or only F5.
But everything is fine when running the program in the console.
Expected behavior
os.environ['PATH'] should get the environment variable PATH.
Steps to reproduce:
- Update Python Extension to version 0.9.0
- Run a program with code "import os; print(os.environ['PATH'])" using Ctrl+F5 or only F5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment