https://bugs.documentfoundation.org/show_bug.cgi?id=160222

Jean-Pierre Ledure <j...@ledure.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|libreoffice-b...@lists.free |j...@ledure.be
                   |desktop.org                 |
             Status|NEW                         |ASSIGNED

--- Comment #16 from Jean-Pierre Ledure <j...@ledure.be> ---
I confirm that the tests described in comment#14 are independent of the flag
com.sun.star.system.SystemShellExecuteFlags.DEFAULTS or ...URIS_ONLY.

However I observe indeed too that session.RunApplication() can run a .bat file
under Windows only when the DEFAULTS flag is applied.

Also, there is a partial overlap between Shell() and RunApplication().
Specificities are:
- Shell() launches more system applications and supports synchronous mode
- RunApplication() starts applications from their associated user files

My proposed actions:
- make a patch that changes the flag to DEFAULTS (releases 24.8, 24.2, 7.6)
- study if in case of error on the execute() statement a fallback on the Basic
Shell() command is feasible, but probably only in asynchronous mode.

Thanks for reporting the bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to