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
commit838cd60df95de0207196b78e483ce5288ad784e7 (patch)
treef7cada59ee9e60bbf7db3d93466655f5e4b40a1c /lisp/server.el
parent96616c048a224641d01c37bcb5fb7d0010c42ed9 (diff)
downloademacs-838cd60df95de0207196b78e483ce5288ad784e7.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)))