[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Starting a subprocess in stopped state
From: |
Andreas Schwab |
Subject: |
Re: Starting a subprocess in stopped state |
Date: |
Sun, 07 May 2017 20:05:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
On Mai 07 2017, Paul Eggert <address@hidden> 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, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."