Closed torhtoot closed 12 months ago
Currently comint is called with sh as the shell command, which is not available on Windows. This could be changed to cmd if Windows is detected as the current OS:
sh
cmd
(let ((shell-command "sh") (shell-command-switch "-c")) (when (eq system-type 'windows-nt) (setq shell-command "cmd") (setq shell-command-switch "/c")) (make-comint-in-buffer "pytest" buffer shell-command nil shell-command-switch command))
It seems https://github.com/wbolster/emacs-python-pytest/commit/7e8acc0232355db35dc66a15bf50c14a80ba3e72 fixed this.
Currently comint is called with
sh
as the shell command, which is not available on Windows. This could be changed tocmd
if Windows is detected as the current OS: