Running wsl <command>
from windows command line is missing environment variables
#7053
Closed
1 of 2 tasks
Labels
Windows Build Number
10.0.19042 Build 19042
WSL Version
Kernel Version
5.4.72
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
from the windows command line running
wsl echo $PATH
Expected Behavior
print the $PATH environment variable (e.g.
echo $PATH
from within wsl)Actual Behavior
print an empty line
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: