commands.exec

From ComputerCraft
Jump to: navigation, search

commands.exec
Function
Syntax
commands.exec()
Returns boolean sucess table output
API commands
Source CC:Tweaked (source)

Execute a Command and wait until the command is finished.

ExampleExampleExecute a Command
Execute a Command
Code
commands.exec("kill @p")