home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!fed!fed.frb.gov!m1nss01
- From: m1nss01@fed.frb.gov (Neil S. Seftor)
- Newsgroups: comp.lang.tcl
- Subject: Problem with an "exec" in a bind statement
- Message-ID: <9285@arccs1.fed.FRB.GOV>
- Date: 23 Nov 92 16:26:28 GMT
- Sender: usenet@fed.FRB.GOV
- Reply-To: m1nss01@fed.frb.gov (Neil S. Seftor)
- Organization: Federal Reserve Board, Wash, DC
- Lines: 15
-
- I'm having a problem getting an exec to work inside of a bind statement:
-
- bind $w.frame.list <Double-Button-1> \
- "exec copier restore \[lindex \[selection get\] 0\]"
-
- where copier is a script with restore and the selection as parameters.
- Just in case it didn't like this, I tried an echo as the first line of the
- script, and got nothing. I then tried a simple 'ls -l' of the selection,
- and got nothing. It appears that it's not even doing the exec. I've tried
- various and sundry combinations of ['s ('s and quotes, but nothing seems
- to work. Any ideas? Followup or reply as desired ... thanks.
-
- - Neil
- --
- "Give light and the people will find their own way."
-