Quote:
Originally Posted by kovidgoyal
@dunhill: Note that on Windows shutdown running calibre is not sufficient it can leave viewer and edit windows around. There is no general method for shutting them down. You would need to use something like psutil to search for the processes and kill them and running shutdown running calibre.
|
@kovidgoyal,
Thank you very much for the technical tip regarding Windows child processes. Following your advice, I've updated the plugin to version 1.2.1.
Now, before launching the installer, the plugin uses taskkill to clean up any remaining instances of ebook-viewer.exe, ebook-edit.exe, and calibre-parallel.exe. This ensures the .msi installer doesn't run into "files in use" errors. I've also kept the --shutdown-running-calibre command to ensure the database closes gracefully first.
Thanks for keeping an eye on this!
I'm learning a lot from the comments.