GWSL-Source icon indicating copy to clipboard operation
GWSL-Source copied to clipboard

I need run shell script in bashrc before I launch the app

Open swithun-liu opened this issue 4 years ago • 1 comments

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

swithun-liu avatar Oct 24 '21 08:10 swithun-liu

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

Pololot64 avatar Oct 24 '21 23:10 Pololot64