I created a script in Ubuntu:
# bash_test_01.shecho "cmd is executed"
Running the script from inside WSL works:
> wsl$ cd /home$ /home/bash_test_01.shcmd is executed.
However running the script from outside WSL fails:
> wsl -e /home/bash_test_01.shWSL (31608) ERROR: CreateProcessEntryCommon:570: execvpe /home/adm_difolco_e/bash_test_01.sh failed 8```WSL (31608) ERROR: CreateProcessEntryCommon:579: Create process not expected to return