Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

wsl -e cannot run a script that I can run when wsl has been executed

$
0
0

I created a file in Ubuntu called bash_test_01.sh containing the command echo "cmd is executed"

in Powershell, if I run

>wsl

$cd /home

$/home/adm_difolco_e/bash_test_01.sh

I get

cmd is executed.

However if I run

wsl -e /home/adm_difolco_e/bash_test_01.sh

I get

<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


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>