diff options
author | Lakin Wecker <none@none> | 2009-06-15 00:22:43 +0000 |
---|---|---|
committer | Lakin Wecker <none@none> | 2009-06-15 00:22:43 +0000 |
commit | f6d5c29fbf1d8fab1cb2f21fd40b442dad6cec27 (patch) | |
tree | 244067cb9fb48793aff576a5330702570beb6f29 /cherrypy/process/plugins.py | |
parent | 772dcd6f1808013322585c426186853020266cc4 (diff) | |
download | cherrypy-git-f6d5c29fbf1d8fab1cb2f21fd40b442dad6cec27.tar.gz |
trunk - unbuffering the stderr for the daemonizer plugin
Diffstat (limited to 'cherrypy/process/plugins.py')
-rw-r--r-- | cherrypy/process/plugins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/process/plugins.py b/cherrypy/process/plugins.py index 07b4b812..219d7a1f 100644 --- a/cherrypy/process/plugins.py +++ b/cherrypy/process/plugins.py @@ -336,7 +336,7 @@ class Daemonizer(SimplePlugin): si = open(self.stdin, "r") so = open(self.stdout, "a+") - se = open(self.stderr, "a+", 0) + se = open(self.stderr, "a+") # os.dup2(fd, fd2) will close fd2 if necessary, # so we don't explicitly close stdin/out/err. |