I'm using this code in Linux (Ubuntu 10.04) to open files:
- Code: Select all
application.executeProgram('gnome-open', vFullFileName)
This code is working properly with images, OpenOffice files, ... However, if I try to open a .pdf file (I have Adobe Reader 9 installed), I get this error:
"Adobe Reader does not need to be run as a privileged user. Please remove 'sudo' from the beginning of the command."
I found out Servoy is executing this command as "super user" (sudo) always... it isn't? If yes, exists some way to execute programs without executing as sudo???
Thanks in advance!