Of course, the calibre plugin in question could always get the temporary directory directly from calibre ('from calibre.ptempfile import base_dir') and then do whatever it wants with that. e.g. by setting that as the value of $TMP in the environment of the subprocesses. Or whatever it is the plugin is doing.
(Maybe I am missing something? It seems to be indicated that the subprocess runs calibredb. And the statement "the default temporary directory would likely be the directory where calibredb.exe exists" is just completely and utterly wrong, or else no one would ever be able to run calibre, ever. And for good measure, a third "ever".)
...
For some reason, DaltonST's plugins always seem to have manual steps that should be unnecessary with a bit of automation?