Files
loongoffice/wizards/source/scriptforge
Jean-Pierre Ledure e110974bc1 ScriptForge (session).RunApplication() redesign
The RunApplication() method uses
- either the Shell() Basic built-in function
  (only in asynchronous mode)
- or the com.sun.star.system.SystemShellExecute()
  service
in this order.
The second is tried in case of failure of the first one.

Benefits:
- the method can start batch files or scripts
- broader than Shell(): giving a user file as argument
  opens its application first based on the file suffix
- more robust error handling

Read discussion in tdf#160222.

This change could require a light revisit of the
sf_session help page.

Change-Id: I1fb4717db4b971bd62885ad0e38b7c08a8e6f434
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165218
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2024-03-24 17:35:49 +01:00
..
2023-12-25 14:10:36 +01:00
2024-03-16 19:51:03 +01:00
2023-12-06 17:55:57 +01:00