Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signalling 8 to refresh doesn't work #24

Closed
MelihDarcanxyz opened this issue Aug 25, 2022 · 3 comments
Closed

Signalling 8 to refresh doesn't work #24

MelihDarcanxyz opened this issue Aug 25, 2022 · 3 comments

Comments

@MelihDarcanxyz
Copy link
Contributor

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
Copy link
Contributor Author

I guess this is where things go wrong:

parser.add_argument("-sr",

    parser.add_argument("-sr",
                        "--sig_refresh",
                        type=int,
                        default="99",
                        help="custom Signal number to refresh the script; default: 8")

@MelihDarcanxyz
Copy link
Contributor Author

Opened a PR in:
#25

@MelihDarcanxyz
Copy link
Contributor Author

Fixed with: #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant