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

> > 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)"
> 
> > It seems also strange to me that you have to kill
> it
> > twice (via SIGTERM) until it dies.
> 
> WinHttrack does the same thing by design. The first
> press of Cancel allows the currently downloading
> files to complete and the cache to be updated
> properly before exiting.
> 
> If you let it exit after the first signal it might
> have given a proper status.

No - it still gives an exit status of 0 - even if I kill it only once (using
SIGTERM) and let it finish. Using or disabling the cache (-C0) doesn't make a
difference.

btw. I'm using 3.42.1-1 - debian version.

cheers,


Tom
 
Reply Create subthread


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




8

Created with FORUM 2.0.11