This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 3 matches

by rbautch
Thu Sep 29, 2005 11:25 pm
Forum: Archive
Topic: Run a tcl script from a shell script
Replies: 8
Views: 12977

Tivosh is indeed TivoShell, a customized TCL installation for Tivos. I don't have a Linux PC I can test this on, so can you copy the "test" script from my original post and try to run it from bash?...Then from a simple shell script? Thanks!! :D
by rbautch
Thu Sep 29, 2005 11:59 am
Forum: Archive
Topic: Run a tcl script from a shell script
Replies: 8
Views: 12977

Here is the shell script, which basically just launches two tcl scripts. The first tcl script is not interactive, so it runs fine. The second tcl script chokes when I run it from this script, but works fine when I run it from bash prompt. Thanks in advance. #!/bin/sh tivosh netconfig.tcl tivosh setS...
by rbautch
Sun Sep 25, 2005 1:09 am
Forum: Archive
Topic: Run a tcl script from a shell script
Replies: 8
Views: 12977

Run a tcl script from a shell script

I want to launch an interactive tcl script from a shell script, but when I try, it seems that the standard input channel gets messed up. For example, the following code: puts -nonewline stdout "What is your name?: " flush stdout set name [gets stdin] returns the following error: error read...