wakepy icon indicating copy to clipboard operation
wakepy copied to clipboard

Wakepy is not handling pausing with the SIGTSTP (Ctrl-Z) signal

Open fohrloop opened this issue 5 months ago • 0 comments

When user sends a SIGTSTP signal (typically by hitting Ctrl-Z), the process "pauses".

The list of the paused jobs can be seen with jobs command:

✦4 ❯ jobs
Job	Group	CPU	State	Command
4	143328	0%	stopped	wakepy
3	143297	0%	stopped	wakepy
2	143255	0%	stopped	wakepy
1	134166	0%	stopped	wakepy

The job may be continued with the fg command.

The problem

Most of the wakepy Methods do not "pause". As a user I would assume that if some script is paused, also the inhibitor would be paused. Now the inhibitor is (usually) active during the "pause".

fohrloop avatar Jul 20 '25 13:07 fohrloop