changeset 8733:14b8f8a28ace

(server-start): Always use pipes for communication.
author Richard M. Stallman <rms@gnu.org>
date Wed, 14 Sep 1994 09:00:44 +0000
parents 58d6dc80af5c
children bd55f44d82f1
files lisp/server.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/server.el	Wed Sep 14 03:22:57 1994 +0000
+++ b/lisp/server.el	Wed Sep 14 09:00:44 1994 +0000
@@ -158,7 +158,10 @@
       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)))