Alternatively alternatively an optional argument to the "--daemon" option so that, for example "--daemon=foreground" is the no-forking behavior, whereas plain "--daemon" (for backward compatibility) and "--daemon=background" (for completeness) are both the forking behavior.  

Bikeshedding can be fun. ;-)

On Wed, Nov 16, 2016 at 11:19 AM, Mark Oteiza <mvoteiza@udel.edu> wrote:

Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>     Add --new-daemon, which runs in the foreground and does not fork
>
> Could we have more meaningful names than "old" and "new"?
> E.g. --fg-daemon and --bg-daemon?

Alternatively, an extra flag simply to indicate not to fork the daemon,
perhaps -F for emacs.