View Single Post
Old 06-28-2016, 12:25 PM   #11
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,669
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by eschwartz View Post
Maybe I am missing something? It seems to be indicated that the subprocess runs calibredb.
Just a WAG on my part, but I'm assuming info is being shared (via the temp directory) between his PROGRAM (which launches calibredb as a python subprocess) and his PLUGIN. So the program needs an env var set in order for his program to create files in the same place the plugin is going to look for them (or vice versa). But I agree, there has to be a better way of getting the job done than manually making sure the scratch directories of two different Python processes jive.
DiapDealer is online now   Reply With Quote