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

What signal should i send to process to save and close this tool? #5

Open
lynrayy opened this issue Sep 29, 2023 · 0 comments
Open

Comments

@lynrayy
Copy link

lynrayy commented Sep 29, 2023

What signal should i send to process to save and close this tool?
SIGINT kills the process without pausing the progress, CTRL_C_EVENT does literally nothing

P.s coding some stuff on python, trying to emulate CTRL+C with os.kill(pid,signal.CTRL_C_EVENT)

I want to get this message:

waiting several seconds to exit...
saving resume file to: paused.conf
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