PaulCombal / SamRewritten

Steam Achievement Manager For Linux. Rewritten in C++.
GNU General Public License v3.0
344 stars 33 forks source link

Cli idle exit sucessfully #140

Closed DeadStarlin closed 1 year ago

DeadStarlin commented 1 year ago

This one is tricky, cause when idling, and you break with SIGINT CTRL^C, you get message that pipe broke - even you should exit successfully. I tried to find issue and looks like some issues not catching correctly sigint is fixed by new method and to not have message just need to exit successfully and game exists by itself without error. Cause read_count was called and EXIT successfully in handle_sigint_cli not had chance to execute. Maybe you have another idea how to fix it.