Merge pull request #188 from jmistx/master

Popen objects leak fixed
This commit is contained in:
mdipierro
2013-08-30 16:23:47 -07:00
+1
View File
@@ -246,6 +246,7 @@ class cronlauncher(threading.Thread):
shell=self.shell)
_cron_subprocs.append(proc)
(stdoutdata, stderrdata) = proc.communicate()
_cron_subprocs.remove(proc)
if proc.returncode != 0:
logger.warning(
'WEB2PY CRON Call returned code %s:\n%s' %