unifiedremote / Docs

Official API documentation.
149 stars 33 forks source link

os.open in background #30

Open hsellik opened 3 years ago

hsellik commented 3 years ago

Hi,

I got os.open working for .exe files. However, the app is starting in the background. What can I do to start it in the foreground?

lua example

--@help Command 4
actions.kodi = function ()
    os.open("C:\\Program Files\\Kodi\\kodi.exe");
end
pqvst commented 3 years ago

We'll have to look into why that's happening. Have you tested os.start to see if that works any better?

hsellik commented 3 years ago

Hi, I made a new Windows installation and now both os.start and os.open start the application in the background. I can only see the application running in the task manager.

pqvst commented 3 years ago

Odd. I have still been unable to reproduce this. Which version of Windows are you using?