trap ctrl-c and exit nicely



Hello,

Not sure how to trap a ctrl-c, wait for a http request to finish, and
then exit nicely?

.



Relevant Pages

  • Re: Another stty question....
    ... or trap '' INT ... If I use trap, setting the interrupt in b.sh has no effect. ... Ctrl-C at all. ... Or you can make sure "sleep" is started as a new process group ...
    (comp.unix.shell)
  • Re: Trap http Request and Response Header
    ... "Vaibhav" wrote in message ... > I am trying to write a web browser control Application in c#, ... > i want to trap al http request and response header which are ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Trap http Request and Response Header
    ... "Vaibhav" wrote in message ... > I am trying to write a web browser control Application in c#, ... > i want to trap al http request and response header which are ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Another stty question....
    ... I tried stty intr '', but the behavior is the same. ... back to the command prompt, instead of going back to the echo command ... If I use trap, setting the interrupt in b.sh has no effect. ... Ctrl-C at all. ...
    (comp.unix.shell)
  • Re: Check if file is in use
    ... GetAttr or FileDateTime and trap the error ... VB.Net: "Fool me once..." ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)