emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dart-mode 89573d5 067/192: Use a pipe instead of a pty for


From: ELPA Syncer
Subject: [nongnu] elpa/dart-mode 89573d5 067/192: Use a pipe instead of a pty for the analysis server
Date: Sun, 29 Aug 2021 11:01:52 -0400 (EDT)

branch: elpa/dart-mode
commit 89573d5076368778fb22616c23ff9bb159e37366
Author: Harry Terkelsen <het@google.com>
Commit: Harry Terkelsen <het@google.com>

    Use a pipe instead of a pty for the analysis server
---
 dart-mode.el | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/dart-mode.el b/dart-mode.el
index c578fb5..efbdec0 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -684,11 +684,12 @@ directory or the current file directory to the analysis 
roots."
      (dart--analysis-server-process dart--analysis-server))
     (kill-buffer (dart--analysis-server-buffer dart--analysis-server)))
   (let ((dart-process
-         (start-process "dart-analysis-server"
-                        "*dart-analysis-server*"
-                        dart-executable-path
-                        dart-analysis-server-snapshot-path
-                        "--no-error-notification")))
+         (let ((process-connection-type nil))
+           (start-process "dart-analysis-server"
+                          "*dart-analysis-server*"
+                          dart-executable-path
+                          dart-analysis-server-snapshot-path
+                          "--no-error-notification"))))
     (setq dart--analysis-server
           (dart--analysis-server-create dart-process))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]