On 10/28/2020 11:00 PM, noosphere@mailc.net wrote: > Ken Brown on the Cygwin mailing list posted the following patch, which worked for me: > > --- a/src/emacs.c > +++ b/src/emacs.c > @@ -170,7 +170,7 @@ #define MAIN_PROGRAM > We mark being in the exec'd process by a daemon name argument of > form "--daemon=\nFD0,FD1\nNAME" where FD are the pipe file descriptors, > NAME is the original daemon name, if any. */ > -#if defined NS_IMPL_COCOA || (defined HAVE_NTGUI && defined CYGWIN) > +#if defined NS_IMPL_COCOA || defined CYGWIN > # define DAEMON_MUST_EXEC > #endif > The full patch (with commit message) is attached. Eli, is this OK for the emacs-27 branch? Ken