This would make sure that the output from the command will appear in your console, and not be silently discarded. Either make sure that LibreOffice is not running, or specify a separate user profile - see -env command line parameter. If you do not set a dedicated user profile explicitly, by default your launched process would attempt to use the default user profile (%APPDATA%\LibreOffice\4\user), and if you have LibreOffice GUI running in parallel, the CLI process will pass the command to the GUI so any errors in the process would happen in the GUI instance, and you may not see the output in the console. exe, which is the default for cmd.exe on Windows - see PATHEXT environment variable).Īlso make sure that your launched process does not use the same user profile as any running instance of LibreOffice. To use the console mode, you should not use soffice.exe when using CLI, but instead use, or simply omit the extension at all and use soffice in your command line (provided that your configuration of the command processor first searches for. Starting with LibreOffice 6.3, there is now a proper console mode on Windows, which does not have the problems printing to console. Drag
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |