I installed emacs packages from MobaXterm. When I'm in MobaXterm terminal I could run any Cygwin commands e.g. 'ls' or 'which' but when I start Emacs and call the shell it does not recognize any of unix command.
sh-4.1$ ls sh: ls: command not found sh-4.1$ pwd /drives/c/Software/MobaXterm_Portable_v22.0 sh-4.1$ ls sh: ls: command not found sh-4.1$ which pwd sh: which: command not found sh-4.1$ Obviously I messed with settings but could someone help to resolve it?
emacsclient-- but that's something you could have done yourself. If you know you can improve the question, go ahead and edit it.emacsfrom inside the mobaxterm terminal/shell session, either. You didn't really answer that question. If not, does doing that make a difference?