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

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

Re: Running emacs deamon outside login


From: Steve Revilak
Subject: Re: Running emacs deamon outside login
Date: Sun, 24 Jan 2010 09:09:21 -0500
User-agent: Mutt/1.5.19 (2009-01-05)


srevilak>     nohup emacs --daemon </dev/null >/dev/null 2>&1  &

I simply answered the more general question: "how do I keep a unix
process alive after I log out?".

From: address@hidden

It was instructive, yes, but note that processes designed to become a
daemon just do this nohup trickery (aka "detaching from the controlling
terminal") themselves. Emacs does, when started with the --daemon option.

In general it is better to do the last (whenever the program provides
such an option) since the program may want to do special things when run
in daemon mode

Fair enough.

I had interpreted the OP's remark

  OP> On Linux, I've been wondering whether there's a good way to run
  OP> emacs deamon outside of my login process, so that I can log out
  OP> and in again and connect to the same emacs deamon process

As "emacs --daemon won't outlive my login process", but perhaps that
was the wrong interpretation.

Steve

Attachment: pgpwaCLziePXt.pgp
Description: PGP signature


reply via email to

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