Windows 10 WSL command bash.exe The I/O operation has been aborted

  • Thread starter Thread starter bonelandis
  • Start date Start date
B

bonelandis

Guest
I'm trying to run a bash script in cmd or powershell. when I execute:

C:\%WorkingDirectory%>bash.exe runtest.bsh

It thinks for several seconds then gives the error:

The I/O operation has been aborted because of either a thread exit or an application request.

Is bash.exe not setup to take scripts? Also Win+R and command bash.exe opens window but goes away without doing anything. I assume the same message comes up just before the window closes.

BTW it works if I use wsl.exe but why not bash.exe?

More...
 
Back
Top