Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

last second error/exception handling

Status
Not open for further replies.

smugindividual

Programmer
Apr 14, 2003
104
US
In the event of an error or exception in my background process, i'd like to be able to restart the process and send an email about the error. Which rout should I take?

should i try solving with just catch{}
should i use a ksh wrapper and use the trap command
or are there other alternatives?

If anyone has any suggestion or knows of any articles dealing with last second error/exception handling in tcl/tk i would greatly appreciate it.
 
I think using Expect is another alternative. That's pretty much what it's for. I used Expect long ago to monitor a system and page me if it got in trouble.

Bob Rashkin
rrashkin@csc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top