wsl.exe <cmd> doesn't run shell or profile scripts #6250
-
Environment
Steps to reproducewsl is running the bare command without running the user's login shell. this means that the user's profile / rc scripts are not run and the environment is not correctly configured. i have scripts in my
here's
where is it even getting |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It is the same behavior as Linux. It's not an interactive shell. |
Beta Was this translation helpful? Give feedback.
It is the same behavior as Linux. It's not an interactive shell.
https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html
#4955 #4740 #2816 #2075