Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
370 views
in Technique[技术] by (71.8m points)

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

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 buffer for the terminal) in Emacs by typing M-x term.

When I do this, I get prompted for:

Run program: path_to-emacs/bin/cmdproxy.exe

When I type RET, I get the following error message in the minibuffer:

Spaning child process: invalid argument

Any ideas how to make it work?

Thanks,

question from:https://stackoverflow.com/questions/4535432/terminal-in-emacs-in-windows-error-message-spawning-child-process-invalid-a

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The following should do:

  • M-:(make-comint-in-buffer "cmd" nil "cmd" nil)

  • M-xeshell

  • M-xshell

All have both their pros and cons. So choose what suits you best.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...