Before making any document conversions we have got to start an openoffice/libreoffice listener, in order to enable parallel document conversions.
The listener starts just before the first document conversion happens and - for now - it remains open all the time, even after program termination. The problem is that it starts indirectly with an unoconv command ("unoconv --listener") and as a spawned process there's no easy way to kill it.
Actually, it seems like there's no way to kill spawned processes just using python stdlib and for now I don't want to add an extra dependency to the program.
I leave this open for any better future solutions.
Before making any document conversions we have got to start an openoffice/libreoffice listener, in order to enable parallel document conversions.
The listener starts just before the first document conversion happens and - for now - it remains open all the time, even after program termination. The problem is that it starts indirectly with an unoconv command ("unoconv --listener") and as a spawned process there's no easy way to kill it.
Actually, it seems like there's no way to kill spawned processes just using python stdlib and for now I don't want to add an extra dependency to the program.
I leave this open for any better future solutions.