Note that the next release of calibre is no longer bundling pywin32 so you cant use win32com/win32process in the plugin anymore. To add to recent documents simply use
from calibre.gui2 import add_to_recent_docs
add_to_recent_docs(path_fo_file)
as for running subprocesses, there is no longer any issue with unicode paths and the python subprocess module, so just use that.
|