https://bugs.documentfoundation.org/show_bug.cgi?id=160222
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|[email protected] |[email protected] | |desktop.org Status|ASSIGNED |NEW --- Comment #12 from Julien Nabet <[email protected]> --- (In reply to Jean-Pierre Ledure from comment #11) >... > Now, what about SF_Session.RunApplication() ? > Read > https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03/sf_session. > html?&DbPAR=BASIC&System=UNIX#RunApplication > Its purpose is to launch > - executable files or > - user files that are launched by a specific application related to their > file suffix (ex. open LO/Writer when suffix is .odt). Just to know, do these commands work for you? on Linux: session.RunApplication("/usr/bin/gedit") on Windows session.RunApplication("c:\windows\system32\notepad.exe") ? Both of these are executable. > > I did not experience so far with RunApplication() any difference between > ...URIS_ONLY and ...DEFAULTS. On this matter I would not change the code > until further evidence that a change is necessary. > I saw the difference when I used "Command" instead of sCommand since I was stuck to launch the quoted 2 commands. > Anyway the suppression of the sCommand variable and of the statement > sCommand = SF_FileSystem._ConvertToUrl(Command) > is strictly forbidden. The command must become an URL before beingused in > the next statement while the input argument ("Command") may be given either > as an URL or in OS native format. Ok. -- You are receiving this mail because: You are the assignee for the bug.
