Terminal in Emacs in Windows - Error message: “Spawning child process; invalid argument”

前端 未结 6 607
南笙
南笙 2021-02-01 14:31

I\'m trying to start a cmd terminal in Emacs 23.2 (latest version) in Windows.

According to the Manual, I can enter in terminal mode (starting a new bu

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-01 14:54

    Had the same problem.

    I ran procmon and discovered that Emacs wants to find c:\bin\sh in some form (sh.exe, sh.bat, sh.cmd, etc).
    Since I happened to want to use term mode with the android debugging shell, I created c:\bin\sh.bat with contents "adb shell", and it worked fine, albeit with some weird input lag.

提交回复
热议问题