VIDA-NYU / domain_discovery_tool

This repository contains the Domain Discovery Tool (DDT) project. DDT is an interactive system that helps users explore and better understand a domain (or topic) as it is represented on the Web.
http://domain-discovery-tool.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
46 stars 12 forks source link

StopCrawler is not working #20

Closed soniacq closed 7 years ago

soniacq commented 7 years ago

The crawler is not stopping. It apparently continues to run after calling stopCrawler function.

yamsgithub commented 7 years ago

Fixed the issue with ache crawler not stopping. The problem was caused as the terminate was shutting down only the shell (since shell was set to True) since the pid returned is that of the shell and not the crawler process. Setting shell=False in Popen solved the issue.