diff --git a/python-pytest.el b/python-pytest.el index 735efb6..0cee373 100644 --- a/python-pytest.el +++ b/python-pytest.el @@ -398,7 +398,10 @@ With a prefix ARG, allow editing." 'python-pdbtrack-comint-output-filter-function nil t)) (run-hooks 'python-pytest-setup-hook) - (make-comint-in-buffer "pytest" buffer "sh" nil "-c" command) + (make-comint-in-buffer + "pytest" buffer + (if (eq system-type 'windows-nt) "cmdproxy" "sh") + nil "-c" command) (run-hooks 'python-pytest-started-hook) (setq process (get-buffer-process buffer)) (set-process-sentinel process #'python-pytest--process-sentinel))))