Re: SIGINT vs. SIGTERM?
Daniel Stenberg via curl-users <[email protected]>
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 25 Aug 2024, Paul Gilmartin via curl-users wrote: > Running curl from a script I attempt to terminate a long download. > kill -INT curl has no effect > kill -TERM curl terminates curl. > > Does curl trap SIGINT for some special behavior, leaving the default > SIGTERM? SIGINT is the signal that hitting ctrl-c in a terminal sends to the application like when aborting a slow transfer. I use that frequently with curl and I have never seen or experienced a problem with that. So no, curl does not ignore SIGINT. -- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html