os.run

os.run
Function
Syntax
os.run(
  • environment : table
  • path : string
  • args...? : any
)

Returns nil
API os
Source CC:Tweaked (source)

Run a program at the path.

ExampleLaunch the Shell.
Open the shell.
Code
<nowiki>
os.run({},"/rom/programs/shell.lua")
    </nowiki>
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.