Hi,
Im trying to execute an external program in my solution, i was using ```
var program_output = application.executeProgram(‘c:/labprado-copia/copia.exe’)
i tryied this ```
var program_output = application.executeProgram('\\labprado-servoy\labprado-copia\copia.exe')
but it is not working. Through the explorer clients can acces \labprado-servoy, but i guess thats not the correct way to call the .exe on the server.
How should i do this?
thanks in advance
The correct way to do that is:
var program_output = application.executeProgram(‘\\labprado-servoy\labprado-copia\copia.exe’)
Taking in account that “copia.exe” must be in a shared folder so system can resolve its path.
Remember that for each "" you use you have to put another in order to be resolved properly by the VM, cause "" determinates an escape character
I hope that helps
I think that the best option would be to run the executable server side, you can do that using the Headless Client plugin or the Usermanager plugin.
thanks a lot anieves that worked perfectly!
thank u both for answering