Access console output

by starrunner » Sat Jan 04, 2020 2:55 pm

Yesterday another user had problems loading my plugin:
https://sourceforge.net/p/sweethome3d/p ... /4/?page=1

I wanted to ask, is it possible for a normal user to see the console output of Sweet Home 3D?

I know that I can call Sweet Home 3D with the console executable of Java:

Code: Select all

"...path to my JRE..\bin\java.exe" ... com.eteks.sweethome3d.SweetHome3D
But there are two problems: the included JRE does not contain the "java.exe" and the additional arguments depend on the SH3D version and current environment.

So it would be nice, if we had a command line switch, something like:

Code: Select all

SweetHome3D.exe -log MyLogFile.log
Or the user could open the console output from inside of Sweet Home 3D.

As I always offer both for my standalone programs, I could provide a patch for that.

But I wanted to ask first for any objections.