HTTrack Website Copier
Free software offline browser - FORUM
Subject: Problem with terminating webhhtrack shell-script .
Author: oc2pus
Date: 02/06/2007 09:55
 
Problem:
if there is a firefox instance already running, the logic in webhttrack will
never terminate.

webhttrack starts a new firefox window and checks if firefox is running. If
you close only one of the two windows the script continue to loop ...

as a possible solution:
xwininfo -name 'HTTrack Website Copier - Offline Browser - Mozilla Firefox' |
grep -iv 'No Window' | wc -l

results in 0 if the firefox window for httrack is closed and in != 0, if
httrack is still working.

So this could be a better test to check for the termination of the firefox
instance ?
The problem is to figure out all possible combinations of text strings for
different languages and/o browsers. But perhaps you can launch firefox with a
special string, equal for all combinations ?
Keep up your good work on your great tool !
 
Reply


All articles

Subject Author Date
Problem with terminating webhhtrack shell-script .

02/06/2007 09:55




5

Created with FORUM 2.0.11