From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#21617: Emacs compilation mode prevents child processes from spawning/forking daemons Date: Mon, 5 Oct 2015 11:43:48 +0200 Message-ID: References: <83pp0tzmy7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1141f37eac7869052158595c X-Trace: ger.gmane.org 1444038295 12688 80.91.229.3 (5 Oct 2015 09:44:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Oct 2015 09:44:55 +0000 (UTC) Cc: 21617@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 05 11:44:47 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zj2K5-0007XB-6e for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2015 11:44:45 +0200 Original-Received: from localhost ([::1]:45073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj2K4-0002rY-Hu for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2015 05:44:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj2JR-0002ig-7U for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 05:44:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj2JN-0007E2-Rk for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 05:44:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj2JN-0007Dy-PA for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 05:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zj2JN-0000Sw-KA for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 05:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Oct 2015 09:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21617 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21617-submit@debbugs.gnu.org id=B21617.14440382311766 (code B ref 21617); Mon, 05 Oct 2015 09:44:01 +0000 Original-Received: (at 21617) by debbugs.gnu.org; 5 Oct 2015 09:43:51 +0000 Original-Received: from localhost ([127.0.0.1]:54856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zj2JD-0000SQ-ER for submit@debbugs.gnu.org; Mon, 05 Oct 2015 05:43:51 -0400 Original-Received: from mail-io0-f175.google.com ([209.85.223.175]:35197) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zj2JB-0000SI-HR for 21617@debbugs.gnu.org; Mon, 05 Oct 2015 05:43:50 -0400 Original-Received: by ioiz6 with SMTP id z6so178840495ioi.2 for <21617@debbugs.gnu.org>; Mon, 05 Oct 2015 02:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PeTlKuDQBUX5shpb5Ktber1FLXiyhugFGWV5lBvh0PM=; b=X3uvWgzLhks5krWUSOpPTsAEbCtCOpO8HGWUOp3QGlK+4s0u80r7P34RGe5FKBMnru enXtwLC8ftDxfDZlKbU0XZe4wvLntYrQ1+9RC+45hCCysuFoNxBOL84MUWw+lua5rhcB IoQ4eTvBsiKus1zEScjZbH8U66TK5qYI1KlvY6cSf0zawfNpfgY8RqB23n+p2xzHnkqA ZAJqImBX5ElvDmaKKpX8iFPOemNrtSO4gpNCYkSKJPIJHu0LxTiMQ3zAa7O5dZRBfl9M y/fPEGFZc+cD4Bs/ZKa2c/AtYbEAjvF98P8Pde3lEbvG3cPvp55BirQ3HLYnA3olYHHM 1rmw== X-Received: by 10.107.166.79 with SMTP id p76mr27526149ioe.163.1444038228865; Mon, 05 Oct 2015 02:43:48 -0700 (PDT) Original-Received: by 10.36.25.67 with HTTP; Mon, 5 Oct 2015 02:43:48 -0700 (PDT) In-Reply-To: <83pp0tzmy7.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107307 Archived-At: --001a1141f37eac7869052158595c Content-Type: text/plain; charset=UTF-8 > I just tried > > M-x compile RET C-a C-k emacs -Q -daemon RET > > and that started a daemon which stayed up in the air and didn't exit > or get killed. Yeah, it also works here. I can only guess that Gradle daemon is terminated if stdout is closed before the main process is shut down or something like that. > If you see the same on your system, then Gradle, > whatever that is, is indeed somehow involved in this, because without > it everything works as you expected. It's a pretty standard build tool (Make of sorts) in a Java world. They will of course tell me (for the second time, I already asked for support for this problem before) it's an Emacs' fault, because outside it Gradle works fine. > Also, you didn't tell which version of Emacs you used (I used the > latest development sources). GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 2015-08-27, a fairly recent trunk. Paul --001a1141f37eac7869052158595c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> I just tried
>
> =C2= =A0 M-x compile RET C-a C-k emacs -Q -daemon RET
>
> and that = started a daemon which stayed up in the air and didn't exit
> or = get killed.

Yeah, it also works here. I can only guess that Gr= adle daemon is terminated if
stdout is closed before the main process is= shut down or something like that.

> If you see the same on your = system, then Gradle,
> whatever that is, is indeed somehow involved i= n this, because without
> it everything works as you expected.
It's a pretty standard build tool (Make of sorts) in a Java worl= d. They will of
course tell me (for the second time, I already ask= ed for support for this problem
before) it's an Emacs' fault, be= cause outside it Gradle works fine.

> Also, you didn't tell which version of Emacs you used (I used = the
> latest development sources).

GNU Emacs 25.0.50.1 (x86_64-unknow= n-linux-gnu, GTK+ Version 3.10.9) of 2015-08-27,
a fairly rec= ent trunk.

Paul

--001a1141f37eac7869052158595c--