FANDOM



execute(<sCommand>)
Description (from LUA 4 Manual: 6.5 System Facilities)
"This function is equivalent to the C function system. It passes command to be executed by an operating system shell. It returns a status code, which is system-dependent."
Example
execute("dir > dir.text")
This example will output the directory contents (from the DOS command "dir") to the file dir.text, which will be in the same folder as the homeworld2.exe (bin\release).
Arguments
<sCommand>: a string containing the command to execute.
Related Pages


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.