tcl.lang.cmd
Class ExecCmd

java.lang.Object
  extended by tcl.lang.cmd.ExecCmd
All Implemented Interfaces:
Command

public class ExecCmd
extends Object
implements Command

This class implements the built-in "exec" command in Tcl.


Constructor Summary
ExecCmd()
           
 
Method Summary
 void cmdProc(Interp interp, TclObject[] argv)
          Invoked to process the "exec" Tcl command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecCmd

public ExecCmd()
Method Detail

cmdProc

public void cmdProc(Interp interp,
                    TclObject[] argv)
             throws TclException
Invoked to process the "exec" Tcl command. See the user documentation for details on what it does.

Specified by:
cmdProc in interface Command
Parameters:
interp - The current interpreter
argv - The arguments to exec
Throws:
TclException - on any exec error


Copyright © 2015. All rights reserved.