home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!karl
- From: karl@NeoSoft.com (Karl Lehenbauer)
- Newsgroups: comp.lang.tcl
- Subject: Re: Help with expect inside TK/TCL
- Message-ID: <1992Aug31.115941.7252@NeoSoft.com>
- Date: 31 Aug 92 11:59:41 GMT
- References: <1992Aug24.192950.23077@bwdls61.bnr.ca>
- Organization: NeoSoft Communications Services -- (713) 684-5900
- Lines: 14
-
- In article <1992Aug24.192950.23077@bwdls61.bnr.ca> muradia@bnr.ca writes:
- >I have a progam written in TK/TCL that needs to invoke a program written in expect
- >What is the best way to do this? I do not want to exec the expect program since
- >it require some user input that I want to handle with TK. Any help would be
- >appreciated.
-
- If you link Extended Tcl in with Tcl and Tk, you can use the "system"
- command, as in:
-
- system "expect... &"
- --
- -- Email info@NeoSoft.com for info on getting interactive Internet access.
- You will now awaken feeling relaxed and refreshed, remembering everything
- you've read except the details of the Omega contingency plan.
-