Open lalo-mx opened 6 years ago
Hi - presently, we don't have a means of getting the process ID of the Office application used. I suspect we'd have to resolve issue #11 first.
If this would get solved, this would make this piece of software amazing. Currently we cannot use it because of this issue.
@lalo-mx Did you find a solution for this?
@TSSchoof I could not find a reliable way to obtain the PID of the Office instance and i ended closing all instances of Word or Excel depending of the file being converted.
In some conversions the process fails due to concurrent executions, infinite sheets, password protected documents and many other reasons. To prevent that the process is hung indefinitely we have implemented a timeout to close the OfficeToPDF process. The task is working as expected but the Office process "excel.exe" or "winword.exe" sometimes remains open. Could the Process ID of the Office process be print to the output to be able to close that process?