[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[h-e-w] Bash on Ubuntu on Windows

From: David Klein
Subject: [h-e-w] Bash on Ubuntu on Windows
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" (

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"

If instead I use cygwin

(setq explicit-shell-file-name "C:/cygwin64/bin/bash.exe")

everything works fine

Note: If I run a windows cmd.exe window and type "C:\Windows\System32\bash" then it runs correctly

reply via email to

[Prev in Thread] Current Thread [Next in Thread]