1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

env: adds --ignore-signal (#6377)

* env: adds --ignore-signal
This commit implement #6164.

* env: handle STOP signal and fix styling issue

* env: fix encoded bytes

* env: adds SAFETY comment and handle special signals in ignore_signal

* env: fix parsing to have compatible behaviour

* env: remove derive from Options

* env: changed safety comment, handle duplications after parsing and non-unix cfg

* env: adds tests for ignore-signal parsing and invalid and special signals

* env: change signal values to be non-constant

* env: adds testing for signal ignoring

* env: styling and remove unix specific derive

* test_env: add SIGSTOP to cspell workspace wordlist

* env: makes signal handling unix specific

* env: make ignore-signal function invocation unix specific

* test_env: make signal vector use slices ref instead of vec (linter)

* env: makes ignore-signal in options unix specific

* test_env: add unix specific import
This commit is contained in:
Walid 2024-05-23 23:01:39 +03:00 committed by GitHub
parent e2aa2c7440
commit ebcd86df07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 252 additions and 1 deletions

View file

@ -166,6 +166,7 @@ RTLD_NEXT
RTLD
SIGINT
SIGKILL
SIGSTOP
SIGTERM
SYS_fdatasync
SYS_syncfs