From 347ec3554d49c4b49f3d7ed718d6ef0541806a5e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 24 Dec 2007 20:59:45 +0000 Subject: [PATCH] Open the error log in append mode. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@131 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/bkmk_rforking.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Robots/bkmk_rforking.py b/Robots/bkmk_rforking.py index 0f1dc6a..c04026e 100644 --- a/Robots/bkmk_rforking.py +++ b/Robots/bkmk_rforking.py @@ -15,8 +15,8 @@ import sys, os from subproc import Subprocess, RecordFile # This is to catch 'close failed: [Errno 9] Bad file descriptor' message -# from os.close() in Subprocess.die(). -sys.stderr = open("err.log", 'w') +# from os.close() in Subprocess.die() and errors from from the subprocess. +sys.stderr = open("err.log", 'a') check_subp = None subp_pipe = None -- 2.39.5