commands.execAsync

Execute a command but do not wait for it to run.

ExampleExecute a Command
Execute a Command
Code
<nowiki>
commands.execAsync("kill @p")
  </nowiki>

commands.execAsync
Function
Syntax
commands.execAsync(
  • command : string
)

Returns number taskID
API commands
Source CC:Tweaked (source)
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.