> From: Lubos Pintes <lubos.pin...@gmail.com> > Date: Tue, 4 Apr 2017 12:18:09 +0200 > > I am trying to run a MSYS2 shell, bash.exe, under Emacs version 25.1. It > offers me the path: > c:/msys64/usr/bin/bash.exe > This is correct path, the bash.exe is there. But after I press a RET an > error > Spawning child process: Invalid argument > This error also appears when I try to run the default program offered by > Emacs: > C:/c/emacs/libexec/emacs/25.1/i686-w64-mingw32/cmdproxy.exe
"C:/c/emacs/libexec/emacs/25.1/i686-w64-mingw32/cmdproxy.exe" is clearly an invalid file name. How did you start Emacs? From a desktop shortcut, from a shell prompt (and then which shell), in some other manner? Also, does the problem happen in "emacs -Q"?