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

--- Comment #14 from Jean-Pierre Ledure <j...@ledure.be> ---
(In reply to Julien Nabet from comment #12)

> 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.
> 

1) on Linux
- session.RunApplication("/usr/bin/kate") gives an error headed "KIO Client":
For security reasons, launching executables is not allowed in this context. (*)
- Shell("/usr/bin/kate") runs normally
- session.RunApplication("/home/.../somefile.txt") opens the file in kate.
- Shell("/home/.../somefile.txt") gives a Basic runtime error: File not found.

2) On Windows 10
- session.RunApplication("c:\windows\system32\notepad.exe") works well
- session.RunApplication("c:\...\somefile.txt") opens the file in notepad++ :)
- Shell("c:\windows\system32\notepad.exe") works well
- Shell("c:\...\somefile.txt") gives a Basic runtime error: File not found.

(*) Note that this error does not seem to be a LO error. "KIO" is some file
management system shipped with KDE and Kubuntu (see
https://github.com/KDE/kio).

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

Reply via email to