GWSL-Source
GWSL-Source copied to clipboard
I need run shell script in bashrc before I launch the app
I have some pretreatment in .bashrc, such as Internet settings, then my app can connect to Internet correctly
but the app launched from GWSL didn't run the bash script in .bashrc, so there is something wrong
A workaround may be to make a script that loads .bashrc and then your program. Then you can make a shortcut that points to this new script. Otherwise this is just a limitation I ran into in wsl