emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs --daemon and M-x malloc-info


From: Gregory Heytings
Subject: Re: emacs --daemon and M-x malloc-info
Date: Mon, 26 Apr 2021 12:00:50 +0000



Fmalloc_info writes to stderr, which is closed in a daemonized emacs. How best to handle this? A new logfile argument to emacs or is there some simple (if ugly) hack?


On GNU/Linux systems, I would simply use "nohup emacs --fg-daemon &", which starts the daemon in foreground, detaches it from the terminal, and writes the output to a "nohup.out" file. Or "nohup emacs --fg-daemon &> emacs-daemon.log &" to redirect output to the file "emacs-daemon.log" instead of "nohup.out".



reply via email to

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