unifiedremote / Docs

Official API documentation.
149 stars 33 forks source link

os.start() - doesn't exist? #9

Closed DennisDyallo closed 7 years ago

DennisDyallo commented 7 years ago

In your section for the lua "os library" you say we can use os.start() But I cant find anything about os.start() on the internet.

How can I fire and forget an executable from the remote? https://github.com/unifiedremote/Docs/blob/master/libs/os.md#osstart-command-arg1-arg2--

pqvst commented 7 years ago

The reason you can't find anything on the internet is because os.start() is a special function added by Unified Remote - it is not a standard Lua os function.

Yes, you can use it fire and forget. Have a look at this example: https://github.com/unifiedremote/Remotes/blob/master/Examples/Run/remote.lua

DennisDyallo commented 7 years ago

Okay, thanks. Sorry! :)