wizards/source/scriptforge/SF_Session.xba |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 065fa9d77e5bd550600e8985d7e7aac8e10745c4
Author:     Jean-Pierre Ledure <j...@ledure.be>
AuthorDate: Thu Mar 21 15:54:55 2024 +0100
Commit:     Jean-Pierre Ledure <j...@ledure.be>
CommitDate: Fri Mar 22 09:54:47 2024 +0100

    ScriptForge (session).RunApplication() crash fix tdf#160222
    
    Use
     com.sun.star.system.SystemShellExecuteFlags.DEFAULTS
    i.o.
     com.sun.star.system.SystemShellExecuteFlags.URIS_ONLY
    
    as argument of
     com.sun.star.system.SystemShellExecute.execute()
    
    Change-Id: I3919777cf9442387aec6ed694a2883519e4a7910
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165105
    Reviewed-by: Jean-Pierre Ledure <j...@ledure.be>
    Tested-by: Jenkins

diff --git a/wizards/source/scriptforge/SF_Session.xba 
b/wizards/source/scriptforge/SF_Session.xba
index aeca1133e346..307fb7a8f4bf 100644
--- a/wizards/source/scriptforge/SF_Session.xba
+++ b/wizards/source/scriptforge/SF_Session.xba
@@ -587,7 +587,7 @@ Check:
 Try:
        Set oShell = SF_Utils._GetUNOService(&quot;SystemShellExecute&quot;)
        sCommand = SF_FileSystem._ConvertToUrl(Command)
-       oShell.execute(sCommand, Parameters, 
com.sun.star.system.SystemShellExecuteFlags.URIS_ONLY)
+       oShell.execute(sCommand, Parameters, 
com.sun.star.system.SystemShellExecuteFlags.DEFAULTS)
        bReturn = True
 
 Finally:

Reply via email to