Class Shell

java.lang.Object
  |
  +--Shell

public class Shell
extends java.lang.Object

A simple command-line shell for the MiniKernel.

This program displays a prompt and waits for the user to enter commands. A command line consists of one or more commands, separated by ampersands (&). A command is the name of a Java class that implements public static void main(String args[]), followed by zero or more arguments. All the commands on the line are run in parallel. The shell waits for them to finish before issuing another prompt.

The Shell terminates if it sees end-of-file (Control-D if input is coming from the keyboard) or the exit command.

See Also:
Kernel

Constructor Summary
Shell()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shell

public Shell()
Method Detail

main

public static void main(java.lang.String[] args)
The main program.
Parameters:
args - command-line arguments (ignored).