Popen objects leak fixed

This commit is contained in:
jmistx
2013-08-30 05:40:01 -07:00
parent db2469f109
commit 17ee260e3c
+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' %