branch: elpa/dart-mode
commit 89573d5076368778fb22616c23ff9bb159e37366
Author: Harry Terkelsen <[email protected]>
Commit: Harry Terkelsen <[email protected]>
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))))