home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
watchdog.tcl
< prev
next >
Wrap
Text File
|
1997-10-23
|
935b
|
34 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1995
#
# File : @(#)watchdog.tcl /main/titanic/1
# Author : Marcel Bancken
# Description : Instantiation of Watchdog
#
#---------------------------------------------------------------------------
# SccsId = @(#)watchdog.tcl /main/titanic/1 23 Oct 1997 Copyright 1995 Westmount Technology
source [m4_path_name tcl libocl.tcl]
require platform.tcl
require procs.tcl
require messagehdl.tcl
require clwatchdog.tcl
# on windows we can always give msgs in ErrorDialogs
if $win95 {
OtkRegister::gui
}
if {[llength $argv] != 3} {
puts stderr "Watchdog requires 3 arguments: <interp> <script> <endScript>"
exit 1
}
ClWatchdog new .watchdog \
-interp [lindex $argv 0] \
-script [lindex $argv 1] \
-endScript [lindex $argv 2]
set returnValue [.watchdog execute]
exit $returnValue