发现popweb这段代码和lsp-bridge代码一样的,但是popweb会显示的有个python进程,lsp-bridge却没有。
;; Start python process.
(let ((process-connection-type (not (popweb--called-from-wsl-on-windows-p)))
(process-environment environments))
(setq popweb-internal-process
(apply 'start-process
popweb-name popweb-name
popweb-internal-process-prog popweb-internal-process-args)))
(set-process-query-on-exit-flag popweb-internal-process nil))))
;; Start python process.
(let ((process-connection-type (not (lsp-bridge--called-from-wsl-on-windows-p))))
(setq lsp-bridge-internal-process
(apply 'start-process
lsp-bridge-name lsp-bridge-name
lsp-bridge-internal-process-prog lsp-bridge-internal-process-args)))
(set-process-query-on-exit-flag lsp-bridge-internal-process nil))))