help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Detecting active server from the shell


From: Emilio Lopes
Subject: Re: Detecting active server from the shell
Date: Wed, 15 Aug 2007 11:23:34 +0200
User-agent: Emacs Gnus

adrian@cam cornell edu writes:

> How can I tell if there is an active server?

You can ask the server to evaluate "t" and see if you get the expected
answer.  Or test for the exit code of the client.

   % emacsclient --eval t
   t

-- 
Emílio C. Lopes
Munich, Germany


reply via email to

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