Search found 3 matches

by henning
Monday 11 September 2017 8:24
Forum: LUA
Topic: OS.Execute - running for more than 10 seconds
Replies: 7
Views: 3495

Re: OS.Execute - running for more than 10 seconds

I made it work with "mycmd=os.execute('start cmd /c c:/temp/plugin.cmd')"- but see no performance improvements compared to using blocky.

But thanks for the help :)
by henning
Friday 08 September 2017 22:58
Forum: LUA
Topic: OS.Execute - running for more than 10 seconds
Replies: 7
Views: 3495

Re: OS.Execute - running for more than 10 seconds

Why not use os.execute..? Is it only for Linux..?

I Will try the Start command, and see how it works.
Buf if some One know how i can use os.execute and Dont have to wait for the command to finish before process - Will it be realy Nice..
by henning
Friday 08 September 2017 13:11
Forum: LUA
Topic: OS.Execute - running for more than 10 seconds
Replies: 7
Views: 3495

OS.Execute - running for more than 10 seconds

Hello I try to getting this "speedup" to work on a Windows installation http://easydomoticz.com/forum/viewtopic.php?f=17&t=2575&sid=c30c36ec35b1e178e5f76355b841a5ce I can see the problem is the "os.execute" line. If i make a Lua Script with ** curl = "C:\\Domoticz\\Curl\\curl.exe " -- don't forgot ...