Shell (API)

From ComputerCraft Wiki
Revision as of 00:41, 29 January 2012 by Kaleb702 (Talk | contribs) (Created page with "The shell API allows you to interface with the shell. Its functions include: * shell.exit() * shell.dir() * shell.setDir( path ) * shell.path() * shell.setPath( path ) * shel...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The shell API allows you to interface with the shell.

Its functions include:

  • shell.exit()
  • shell.dir()
  • shell.setDir( path )
  • shell.path()
  • shell.setPath( path )
  • shell.resolve( localpath )
  • shell.resolveProgram( name )
  • shell.aliases()
  • shell.setAlias( alias, command )
  • shell.clearAlias( alias )
  • shell.programs()
  • shell.run( program, arguments )