Hi,
I'm trying to call LibreOffice calc from Java and wait until the Calc finish, I mean, when the user saves the spreadsheet and closes the program.
The problem is that waitFor() continues and doesn't wait.
This is the code:
I realized that, when LibreOffice is in memory to run faster, then waitFor does not work. But if LibreOffice is run directly then waitFor work.
I appreciate any help in advance.
Javiercl.
I'm trying to call LibreOffice calc from Java and wait until the Calc finish, I mean, when the user saves the spreadsheet and closes the program.
The problem is that waitFor() continues and doesn't wait.
This is the code:
I realized that, when LibreOffice is in memory to run faster, then waitFor does not work. But if LibreOffice is run directly then waitFor work.
I appreciate any help in advance.
Javiercl.