Criei um arquivo no Ubuntu chamado bash_test_01.sh contendo o comandoecho "cmd is executed"
no Powershell, se eu executar
>wsl
$cd /home
$/home/adm_difolco_e/bash_test_01.sh
eu recebo
cmd é executado.
No entanto, se eu correr
wsl -e /home/adm_difolco_e/bash_test_01.sh
eu recebo
<3>WSL (31608) ERROR: CreateProcessEntryCommon:570: execvpe /home/adm_difolco_e/bash_test_01.sh failed 8
<3>WSL (31608) ERROR: CreateProcessEntryCommon:579: Create process not expected to return