When I do the obvious thing in Powershell:

Start-Process "C:\bin\emacs-23.3\bin\emacs.exe" -ArgumentList "-nw"

Then emacs loads a new "cmd.exe" terminal, within which it is in terminal mode, instead of starting in terminal mode within Powershell. How can I start emacs in terminal mode within the existing Powershell terminal?

link|improve this question
1  
Actually it doesn't load in a new "cmd.exe" terminal. cmd.exe is not a terminal, it's a program. Emacs opens with its own console window instead of using powershell's. Don't believe me? Try looking for cmd.exe in your process list. It won't be there. – x0n Sep 22 '11 at 13:14
feedback

migrated from stackoverflow.com Sep 23 '11 at 13:46

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 0 down vote accepted

I can't test it cause I don't use emacs. Does it load within PowerShell if you just invoke it?

C:\bin\emacs-23.3\bin\emacs.exe -nw
link|improve this answer
Doh, yes it does. I did that with "runemacs.exe", and that did not work, but I never did it with "emacs.exe". Stupid me... – colding Sep 22 '11 at 11:53
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.