office-gobmx/wizards/source
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
..
access2base
config
configshare
depot
euro
formwizard
gimmicks
imagelists
importwizard
resources
scriptforge ScriptForge (session).RunApplication() redesign 2024-03-24 17:35:49 +01:00
sfdatabases
sfdialogs
sfdocuments
sfunittests
sfwidgets
standard
template
tools
tutorials