susi_linux icon indicating copy to clipboard operation
susi_linux copied to clipboard

Feature to properly quit from the system.

Open guyandtheworld opened this issue 8 years ago • 3 comments

To exit from the system, we have to crtl+c while running, which is not clean. We can discuss better alternatives here and I'll get on with it implementing it right away.

I was thinking maybe pressing q while the process was running to quit?

guyandtheworld avatar Sep 15 '17 18:09 guyandtheworld

@betterclever Suggestions? :smile:

guyandtheworld avatar Sep 15 '17 18:09 guyandtheworld

To quit the system properly, we need to force system to idle state. Then, send interrupt signals to speed detection loop and stop the hotword detection. For CLI, we may do it using 'q' button as you suggested. For GUI mode, make sure it happens atomically on close button press.

betterclever avatar Sep 15 '17 18:09 betterclever

@betterclever I will get right on with it. Thanks for explaining!

guyandtheworld avatar Sep 16 '17 03:09 guyandtheworld