Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions python-django.el
Original file line number Diff line number Diff line change
Expand Up @@ -988,12 +988,15 @@ the `python-django-mgmt--available-commands' cache."
(defun python-django-mgmt-make-comint (command process-name)
"Run COMMAND with PROCESS-NAME in generic Comint buffer."
(apply 'make-comint process-name
(executable-find python-shell-interpreter) nil
(format "%s %s"
(executable-find python-shell-interpreter)
python-shell-interpreter-args)
nil
(split-string-and-unquote command)))

(defun python-django-mgmt-make-comint-for-shell (command process-name)
"Run COMMAND with PROCESS-NAME in generic Comint buffer."
(let ((python-shell-interpreter-args command))
(let ((python-shell-interpreter-args (format "%s %s" python-shell-interpreter-args command)))
(python-shell-make-comint (python-shell-parse-command) process-name)))

(defun python-django-mgmt-make-comint-for-shell_plus (command process-name)
Expand Down