-
-
Notifications
You must be signed in to change notification settings - Fork 618
os.outputof
starkos edited this page Apr 10, 2021
·
4 revisions
This wiki is no longer being maintained.
Runs a shell command and return the output.
result, errorCode = os.outputof("command")
command
is a shell command to run.
The output and error code of the command.
Premake 4.0 or later.
-- Get the ID for the host processor architecture
local proc = os.outputof("uname -p")