jupyter-start-kernel (jupyter-kernel-process): Display process arguments

This commit is contained in:
Nathaniel Nicandro 2019-05-09 19:03:00 -05:00
parent ac7ed04488
commit f158f10c12

View file

@ -130,6 +130,11 @@ kernel starts.")
(cl-defmethod jupyter-start-kernel ((kernel jupyter-kernel-process) &rest args)
"Start a KERNEL process with ARGS."
(let ((name (jupyter-kernel-name kernel)))
(setf (car args) (or (executable-find (car args))
(error "%s not found in `exec-path'" (car args))))
(when jupyter--debug
(message "jupyter-start-kernel: Starting process with args \"%s\""
(mapconcat #'identity args " ")))
(oset kernel process
(apply #'start-file-process
(format "jupyter-kernel-%s" name)