User's Guide to the Exec/Monitor Dialog

The Exec Class in Tycho provides a mechanism for programmers to execute a process. The graphical Monitor Class inherits from Exec to provide a graphical dialog window that can execute a process in a user specified directory and display the results.

Currently the Exec/Monitor Dialog uses non-blocking I/O, which is not supported under Windows. The Exec/Monitor Dialog also will not work under the Macintosh. Consult the Tcl open man page for more information.

Exec/Monitor Dialog Features

Command to execute:
An entry widget that contains the name of the command to execute, along with any user supplied arguments.
Directory to execute from:
An entry widget that contains the pathname of the directory to execute the command from.
Exec
A button that executes the command. If there is any output, a text widget is created and the output is placed in it. If there is an error, then the error is displayed in a dialog widget.
Stop
Stop the current execution.
Next Error
If an error message occurred during a compilation, open the file which contains that error, and jump to the line.
Cancel
A button to close the current Exec Dialog.

See the non-graphical Exec documentation and graphical Monitor documentation for further details. See also the Tycho internal documentation about Execing Processes.

Tycho Home Page


Copyright © 1996-1998, The Regents of the University of California. All rights reserved.
Last updated: 05/20/98, comments to: cxh@eecs.berkeley.edu