> From: David Klein <[email protected]>
> Date: Wed, 10 Aug 2016 11:45:09 +0300
> 
> I am trying to get M-x shell to work with "Bash on Ubuntu on Windows"
> (https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/)
> 
> I have tried
> 
> (setq explicit-shell-file-name "C:/Windows/System32/bash.exe")
> (setq shell-file-name explicit-shell-file-name)
> 
> but when I type "M-x shell" I get the error
> 
> "Spawning child process: invalid argument"

Are you sure this bash.exe is a native Windows program?  E.g., can you
invoke it from any program other than cmd.exe, like make.exe or the
Cygwin Bash?

Reply via email to