Re: Bash on Ubuntu on Windows

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
> 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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.