The return value of os.execute in Lua is dependent on the operating system being used.
On Unix-based systems, os.execute returns the exit status of the command being executed (0 for success, non-zero for failure).
On Windows systems, os.execute returns true if the command was executed successfully, and false otherwise.
Asked: 2023-05-05 11:55:05 +0000
Seen: 14 times
Last updated: May 05 '23