os.execute in lua script not working

Hello again everyone,

I´m trying to open a browser window with the lua os.execute command in a script, but it wont open, not even a command prompt. Has anybody dealed with this before?
Tried with my local lua (not the Orthancs engine), and it works.
Any ideas?

best, and thank you as always in advance

Hello,

Please provide a full minimal working example (including your Lua script) if you expect support from this discussion group:
https://book.orthanc-server.com/users/support.html#discussing-a-minimal-working-example

Regards,
Sébastien-

Hello Sebastien, thank you for your answer. Today I realized its not that it dont work, its just that the browser is executing on the Local System Account of windows (I can see the process starting in the task manager), so I tha explains why i was able to see the prints in the log, but not the browser execution. I suppose I should change the Orthanc Service to run under my user, since it seems that the lua script is executing in the Local System. Have you ever dealed with this?

thank you