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?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
See if this works: If it can, then you can trap signals with the |
|||||||
|
|
I ended up running the program using |
|||
|
|