tcl.lang
Class Shell
java.lang.Object
  
tcl.lang.Shell
public class Shell
- extends Object
 
The Shell class is similar to the Tclsh program: you can use it to execute a
 Tcl script or enter Tcl command interactively at the command prompt.
| 
Field Summary | 
static boolean | 
forceNonInteractive
 
          Set to true to force tcl_interactive to 0 in the shell | 
 
| 
Constructor Summary | 
Shell()
 
            | 
 
| 
Method Summary | 
static void | 
main(String[] args)
 
          Main program for tclsh and most other Tcl-based applications. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
forceNonInteractive
public static boolean forceNonInteractive
- Set to true to force tcl_interactive to 0 in the shell
 
Shell
public Shell()
main
public static void main(String[] args)
- Main program for tclsh and most other Tcl-based applications.
 
 Results: None.
 
 Side effects: This procedure initializes the Tcl world and then starts
 interpreting commands; almost anything could happen, depending on the
 script being interpreted.
 
 
Copyright © 2015. All rights reserved.