Quote:
Originally Posted by eschwartz
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.