Ask Your Question

why does command line execution of soffice.exe not work?

asked 2019-01-06 20:47:13 +0200

AlanF00 gravatar image

I've opened a powershell in Windows 7, and want to do some batch processing (html to odt) of some files. When I try to execute soffice (./soffice ... or ./soffice.exe ... --version), nothing blows up but there is no output. What's going on?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2019-01-06 20:54:01 +0200

This is tdf#121498, fixed in 6.3 (scheduled for summer 2019) - I described the fix here. In the meanwhile, you could use cygwin to launch LibreOffice to see the output (and then, don't forget to convert backslashes \ to forward slashes /). This will enable you to debug what goes wrong with the command you issued.

edit flag offensive delete link more

answered 2019-01-06 21:02:47 +0200

AlanF00 gravatar image

Thanks. When I use cygwin, I suppose I need to also install Libreoffice? I'm an old Unix/Linux user so this is not a problem.

edit flag offensive delete link more


well - you seem to already have LibreOffice on your system. Just install cygwin, and use it as another shell that allows you to use unix syntax to call Windows stuff, including LibreOffice already present (e.g., issue "C:/Program Files/LibreOffice/program/soffice.exe" --version).

A sidenote: please don't use Answer for comments that don't answer the original question. Use Comments for that. Thanks.

Mike Kaganski gravatar imageMike Kaganski ( 2019-01-06 21:23:53 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-01-06 20:47:13 +0200

Seen: 168 times

Last updated: Jan 06 '19