Difference between revisions of "Shell (API)"

From ComputerCraft Wiki
Jump to: navigation, search
(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...")
 
m
Line 14: Line 14:
 
* shell.programs()
 
* shell.programs()
 
* shell.run( program, arguments )
 
* shell.run( program, arguments )
 +
 +
[[Category:APIs]]

Revision as of 00:41, 29 January 2012

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 )