User Tools

Site Tools


reference:os.timedexecute

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

reference:os.timedexecute [2018/11/14 10:45] (current)
Line 1: Line 1:
 +======os.timedexecute=====
 +
 +The [[lua_scripting|Lua]] function '​os.timedexecute'​ runs an external program with a time limit
 +
 +It takes three parameters:
 +  - The program/​command line to execute
 +  - The time to wait for completion (in seconds). If this time expires, the program is terminated
 +  - Boolean value whether the command window should be shown or not
 +
 +The function returns two values. The first is a table the Exit code from the process, the second is the Error code from the attempt to launch the program
  
reference/os.timedexecute.txt ยท Last modified: 2018/11/14 10:45 (external edit)