Closed ankology closed 1 year ago
Fixed. Please review the changes! @mara004
Thanks, looks pretty good now! Have you tested the changes? In particular, I wasn't very sure if the pathlib bit would actually work on Windows.
@mara004 Yes, i'm currently using in Windows, it's working fine!! ;)
@ankology Great, thanks for your work!
Thanks to everyone for this!
Hi guys! Thanks for the project. Today i managed to work with unoserver in windows, and i have a fell breakpoints.
1) In server.py when executing in windows the command
f"-env:UserInstallation={self.tmp_uri}"
displays a strange error see example, seems not necessary forsoffice.exe
that command. So, i added a Linux verification to append it.2) In server.py when executing in windows, the process crashes because not exists a signal SIGHUP in Windows envrionment, so i added a verification as well.
By change that, works like a charm! Please consider the pull request for Windows users. Thanks again!
Edit 1: The issue with Windows is because the temporary uri generation gives an invalid path to process creation, causing the error, commit fixed.