summaryrefslogtreecommitdiff
path: root/lisp/server.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-14 09:00:44 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-14 09:00:44 +0000
commit60fc6b72b2c78aebbb3ffebf1598af14e6484759 (patch)
tree1e4b2a48d965c869f06a1d3ef089b551848a3d39 /lisp/server.el
parent233a8755ea9b179113d0aa29b0b756014328e2f8 (diff)
downloademacs-60fc6b72b2c78aebbb3ffebf1598af14e6484759.tar.gz
(server-start): Always use pipes for communication.
Diffstat (limited to 'lisp/server.el')
-rw-r--r--lisp/server.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/server.el b/lisp/server.el
index 5b0f88a09f7..0e525a60fd4 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -158,7 +158,10 @@ Prefix arg means just kill any existing server communications subprocess."
nil
(if server-process
(server-log (message "Restarting server")))
- (setq server-process (start-process "server" nil server-program))
+ ;; Using a pty is wasteful, and the separate session causes
+ ;; annoyance sometimes (some systems kill idle sessions).
+ (let ((process-connection-type nil))
+ (setq server-process (start-process "server" nil server-program)))
(set-process-sentinel server-process 'server-sentinel)
(set-process-filter server-process 'server-process-filter)
(process-kill-without-query server-process)))