Skip to main content

All Questions

Tagged with
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?
LaC's user avatar
  • 2,929