Skip to content

Instantly share code, notes, and snippets.

Created Mar 11, 2013

What would you like to do?
Lua: Return values of os.execute()
x, y = os.execute("kpsewhich article.cls")
print(x, y)

This comment has been minimized.

Copy link

zr-tex8r commented Mar 11, 2013

Lua 5.1 --> "0 nil"
Lua 5.2 --> "true exit"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.