Questions tagged [expect]
Expect is a utility based on TCL. It's primary use is for building automation into interactive environments such as telnet or ssh based terminal environments. It provides the ability to enter commands on a command line and interpret the output.
61
questions
0
votes
2
answers
2k
views
Expect: Modify Ctrl-C Behavior
While exec is running a program, I would like Ctrl-C to terminate the program and resume the script, instead of killing the script. What's the best way of accomplishing that?