Initial community commit

This commit is contained in:
Jef
2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit 20d28e80a5
16810 changed files with 4640254 additions and 2 deletions
@@ -0,0 +1,32 @@
Runs a shell command and return the output.
```lua
result, errorCode = os.outputof("command")
```
### Parameters ###
`command` is a shell command to run.
### Return Value ###
The output and error code of the command.
### Availability ###
Premake 4.0 or later.
### Examples ###
```lua
-- Get the ID for the host processor architecture
local proc = os.outputof("uname -p")
```
### See Also ###
* [os.executef](os.executef.md)