From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Starting a subprocess in stopped state Date: Sun, 07 May 2017 20:05:37 +0200 Message-ID: <87shkgilu6.fsf@linux-m68k.org> References: <831ss7hyh0.fsf@gnu.org> <83tw4zg3rj.fsf@gnu.org> <87bmr6wngl.fsf@zigzag> <83bmr6fmch.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494180360 29006 195.159.176.226 (7 May 2017 18:06:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 May 2017 18:06:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: Eli Zaretskii , Daiki Ueno , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 07 20:05:56 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7QZ9-0007NJ-L9 for ged-emacs-devel@m.gmane.org; Sun, 07 May 2017 20:05:55 +0200 Original-Received: from localhost ([::1]:56322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7QZA-0004rM-A1 for ged-emacs-devel@m.gmane.org; Sun, 07 May 2017 14:05:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7QZ1-0004qd-EX for emacs-devel@gnu.org; Sun, 07 May 2017 14:05:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7QZ0-0003eY-MO for emacs-devel@gnu.org; Sun, 07 May 2017 14:05:47 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:59204) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7QYw-0003dJ-Qj; Sun, 07 May 2017 14:05:43 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3wLYTH4V7Xz1qrFh; Sun, 7 May 2017 20:05:39 +0200 (CEST) Original-Received: from localhost (dynscan01.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3wLYTH0Y6Cz3jRBS; Sun, 7 May 2017 20:05:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan01.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id sYSpSmuRGM61; Sun, 7 May 2017 20:05:38 +0200 (CEST) X-Auth-Info: 2ZHkXiuerO0E0LR+3z9NTA6XrxPDVyqT2MgYXMIINEdNA5xnLeExjZXcRVS9Hcta Original-Received: from igel.home (ppp-88-217-25-63.dynamic.mnet-online.de [88.217.25.63]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 7 May 2017 20:05:38 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id B2B3E2C3CF3; Sun, 7 May 2017 20:05:37 +0200 (CEST) X-Yow: Loni Anderson's hair should be LEGALIZED!! In-Reply-To: (Paul Eggert's message of "Sun, 7 May 2017 10:25:03 -0700") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.18.0.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214683 Archived-At: On Mai 07 2017, Paul Eggert wrote: > Eli Zaretskii wrote: >> Is there a way to create a process on Unix and GNU systems, but >> prevent it from running until it gets SIGCONT or something similar? > > Sure, the parent can fork and the child can send itself a SIGSTOP before > doing the exec. That will also delay all error reporting, though. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."