Function: projectile--run-shell
projectile--run-shell is a byte-compiled function defined in
projectile.el.
Signature
(projectile--run-shell NEW-PROCESS &optional OTHER-WINDOW)
Documentation
Invoke shell in the project's root.
NEW-PROCESS forces creation of a new process instead of reusing an existing buffer. OTHER-WINDOW displays it in another window.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260930.434/projectile.el
(defun projectile--run-shell (new-process &optional other-window)
"Invoke `shell' in the project's root.
NEW-PROCESS forces creation of a new process instead of reusing an
existing buffer. OTHER-WINDOW displays it in another window."
(let ((project (projectile-acquire-root)))
(projectile-with-default-dir project
(projectile--displaying-in-other-window other-window
(shell (projectile-generate-process-name "shell" new-process project))))))