https://bugs.documentfoundation.org/show_bug.cgi?id=116156
--- Comment #2 from [email protected] ---
I could confirm the bug. I don't know how it could work before, but the bug is
the first given parameter to spawnv which is not quoted (and the path has
spaces in windows).
If you change the line
cmdArray = (sOffice, "--nologo", "--nodefault", "".join(["--accept=pipe,name=",
sPipeName, ";urp;"]))
to
cmdArray = ('"{}"'.format(sOffice), "--nologo", "--nodefault",
"".join(["--accept=pipe,name=", sPipeName, ";urp;"]))
it works fine. I don't know how its with linux. When it's there a problem, you
could add a sOfficeQuoted variabel and decide in the "if" above (for the
extension) to quote or not the "sOffice" variable!
@Buovjaga
You should use the python.exe in the folder "C:\Program Files (x86)\LibreOffice
5\program"! Not the one in the subfolder bin (this is called by the oher
python.exe with needed environment variables)
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs