ctrl - C



Hi All
if script A that execute script B, during its executing, i press
ctrl-c, it will stop the script A if it doesn't handle the ctrl-c. How
can i forword the ctrl-c signal from script A to script B?
thanks
from Peter (cmk128@xxxxxxxxxxx)
.



Relevant Pages

  • (reposted) Question about CTRL-C handling in scripts
    ... I have a 'wrapper' script that sets up some environment variables and ... then executes another script, which then eventually runs a Fortran ... Then it requires a second <Ctrl-C> to exit this looping and return to ...
    (comp.unix.shell)
  • Cant ctrl-c to exit with DBI, DBD::Oracle
    ... Once my script connects to my database, ... I just can't exit when I'm done. ... use DBI; ... I'm able to interrupt the script with ctrl-c as I'd expect. ...
    (perl.dbi.users)
  • RE: Send CTRL-C to program started with WshShell.Exec method
    ... What I'm looking for is not a solution to stop the VB Script but a solution ... to stop defrag.exe in clean manner. ... >> can be stopped by pressing CTRL-C. ... It only stop when the defragmentation is finished or by pressing ...
    (microsoft.public.scripting.vbscript)
  • Re: ctrl - C
    ... if script A that execute script B, during its executing, i press ... ctrl-c, it will stop the script A if it doesn't handle the ctrl-c. ... shell running script A, the shell running script B and whatever ...
    (comp.os.linux.misc)
  • trap does not
    ... I'm trying to abort the execution of a scipt, ... Ctrl-C. ... So I put the 'trap' command at the beginning of the script, ...
    (comp.os.linux.misc)