What is the difference between:
(call-process "cmdproxy" nil "foo" nil "/c" "dir")
(call-process "cmd" nil "foo" nil "/c" "dir")
?
I seem to get exactly the same results in Emacs 25.1 on Windows 10, except cmdproxy
works with the -c
switch too.
Update
Probably not everyone knows that Microsoft (Windows) has nothing to do with cmdproxy.exe
. It is a binary part of Emacs distribution (i.e. made by Emacs developers) in order to call Windows subprocesses. As noted above, I don't see any sensible benefit over cmd.exe
.
Hence this question belongs here, not Windows forums.