Execute Shell Commands

Just execute and get success/fail

success = os.execute('sleep 20')

Get stdout of executed process

stream = io.popen('ls')
output = stream:read('a') -- 'a' means read all
stream:close()