coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rfc] nosig: new program to compliment nohup


From: Pádraig Brady
Subject: Re: [rfc] nosig: new program to compliment nohup
Date: Sun, 2 Feb 2020 17:00:45 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Thunderbird/73.0

On 02/02/2020 16:48, Mike Frysinger wrote:
i had need of a nohup-like program, but for a different signal.
i ended up writing a util called "nosig" that allows full control
over signal settings before execing another program:
   https://vapier.github.io/nosig/
   https://vapier.github.io/nosig/man.html

i figure expanding nohup won't work well since its behavior is
specified by POSIX.  better to have a new tool.

is there interest in merging into coreutils ?  i'd be fine redoing
the code style/idioms to align with the project, but didn't want to
spend time on it if people weren't amenable to the idea :).
-mike

The latest release of env (v8.31) supports this with:

  env now supports '--default-signal[=SIG]', '--ignore-signal[=SIG]', and
  '--block-signal[=SIG], to setup signal handling before executing a program.

  env now supports '--list-signal-handling' to indicate non-default
  signal handling before executing a program.

cheers,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]