0

I recently created a standalone python application with pyinstaller for OS X. I have encountered a problem when I try to shutdown(or restart) the computer. The computer won't shutdown until the application is forced quit.

What I would like the application to do is terminate once I wish to shut down my computer, just like safari or other applications would. Its okay for the application to completely restart when the computer is booted again it does not have to resume from where it was last left on.

All I want the application to do is to automatically terminate once the user clicks shut down. At the moment the user has to click shut down and then cmd+option+esc and force quit the application THEN the computer shuts down. Is there a solution to this problem?

Thanks.

Paul Rooney
  • 20,879
  • 9
  • 40
  • 61
J.Doe
  • 97
  • 5

0 Answers0