Create user installation folder and exit

Hi there,

As far as I can tell, the user installation folder is created the first time a libreoffice process is instantiated.

I have a python script which I would like to run non-interactively from the command line, but for that I need to copy the script to the installation folder first, so its available.

Is there any way to create the user installation folder from the command line?

As @erAck mentioned in IRC: use soffice --terminate_after_init

I should read more closely the man page:

   --terminate_after_init
          Starts LO and terminates after it registers some UNO services.  Doesn't show the splash during startup.