HTTrack Website Copier
Free software offline browser - FORUM
Subject: bug: doesn't respond correctly to SIGTERM
Author: Tom Fernandes
Date: 02/27/2008 16:14
 
Hello,

I am experiencing the situation that httrack is exiting with a exit status of
0 when killed.

The first time it receives SIGTERM it says:

"Exit requested to engine (signal 15)"

but continues downloading. When giving it a SIGERM again it dies with:

"Program terminated (signal 15)"

but exits with exit status 0. This is bad because if you check on the exit
status (e.g. for trapping) you will get the impression that httrack ran
without any problems although it was actually terminated.

It seems also strange to me that you have to kill it twice (via SIGTERM) until
it dies.

Other tools like wget or puf exit with a non-zero exit status when receiving a
SIGTERM.

Is this the most appropriate place to post this bugreport or is there a better
place? I additionally send this bugreport to the ML.


thanks for the good work,


Tom
 
Reply


All articles

Subject Author Date
bug: doesn't respond correctly to SIGTERM

02/27/2008 16:14
Re: bug: doesn't respond correctly to SIGTERM

02/27/2008 16:41
Re: bug: doesn't respond correctly to SIGTERM

02/27/2008 16:50
Re: bug: doesn't respond correctly to SIGTERM

02/27/2008 17:39




0

Created with FORUM 2.0.11