View Single Post
Old 10-08-2022, 06:01 PM   #222
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,809
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Thanks.

But, if the authors.link contains calibre protocol link, the link is 'executed', in that the current calibre process will execute the 'show_book', 'view_book' or 'search' command - however, if the command requires a library switch by the calibre process the CS process is terminated.

I suspect I understand why:

If the authors.link field contains a calibre protocol link that does not require the calibre process to do library switch then the CS process is not terminated.

So, it would seem that a library switch terminates the current calibre process (which will terminate its child processes), and the starts a new calibre process with the required library, unsurprisingly without restarting the CS child process.

This can be demonstrated by starting CS from calibre while Library A is the active library and then switching calibre to Library B - the CS process will disappear irrespective of what library it has.

I'm not sure if this has always been the case (I suspect it has). And, I haven't done any testing with starting CS from a command line or batch file, I'll try that later today.

Most of my usage of the authors.link field uses calibre protocol links, they've replaced the evernote and onenote protocol links I had originally.

Any thoughts?

BR

Last edited by BetterRed; 10-09-2022 at 01:53 AM. Reason: grama
BetterRed is online now   Reply With Quote