-
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
parsing of .env truncates before equal sign #22792
Comments
Closing as duplicate of microsoft/vscode#197603. I encourage you to interact with the other issue, as that could help with prioritizing it. |
As a workaround, you can set |
Actually, I need it when debugging tests from python. The extension is build with sanitizers. This implies that the sanitizer library has to be
and when debugging python everything works as expected. But the terminal is not useable since the trailing |
Type: Bug
Behaviour
Expected vs. Actual
Environment settings in the
.env
file which contain an equal sign in the value are truncated, e.g.ASAN_OPTIONS="detect_leaks=0"
ends up as
ASAN_OPTIONS=detect_leaks
in the environemt inside the terminal. I would expect that the complete value is passed as an environment variable. The same happens if I remove the quotes.Steps to reproduce:
.env
file with the following contentASAN_OPTIONS="detect_leaks=0"
$ env | grep ASAN_OPTIONS ASAN_OPTIONS=detect_leaks
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2023.22.1
VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 4.18.0-513.9.1.el8_9.x86_64
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: