Commit 58035912 authored by Vincent Pelletier's avatar Vincent Pelletier

It is not needed to reoped stdin, out and err.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24535 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3d26bc86
......@@ -741,9 +741,6 @@ if options.fork:
os.close(0)
os.close(1)
os.close(2)
os.open('/dev/null', os.O_RDWR)
os.dup2(0, 1)
os.dup2(0, 2)
sys.stdout = sys.stderr = LogFile(options.logfile_name)
os.chdir('/')
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment