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")