Function: projectile-run-command

projectile-run-command is a byte-compiled function defined in projectile.el.

Signature

(projectile-run-command COMPILE-DIR)

Documentation

Retrieve the run command for COMPILE-DIR.

Checks projectile-run-cmd-map for the last run command that was invoked on the project, then projectile-project-run-cmd supplied via .dir-locals.el and finally the default run command for a project of that type.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-run-command (compile-dir)
  "Retrieve the run command for COMPILE-DIR.
Checks `projectile-run-cmd-map' for the last run command that was
invoked on the project, then `projectile-project-run-cmd' supplied
via .dir-locals.el and finally the default run command for a project
of that type."
  (projectile--phase-command 'run compile-dir))