Signalling 8 to refresh doesn't work
MelihDarcanxyz opened this issue · 3 comments
MelihDarcanxyz commented
As the title says, script doesn't refresh when I signal 8 with pkill
. But instead, if I run nwg-wrapper
with --sig_refresh 7
flag, it does work if I signal 7. I have no idea why. Also, 7 is just random and 8 is the default of nwg_wrapper
. Any help appreciated. Thanks.
MelihDarcanxyz commented
I guess this is where things go wrong:
nwg-wrapper/nwg_wrapper/main.py
Line 229 in 89af959
parser.add_argument("-sr",
"--sig_refresh",
type=int,
default="99",
help="custom Signal number to refresh the script; default: 8")
MelihDarcanxyz commented
Opened a PR in:
#25
MelihDarcanxyz commented
Fixed with: #25