On Tue, 11 Jan 2005, Andreas Barth wrote: > * Tim Connors ([EMAIL PROTECTED]) [050111 10:55]: > > For reasons that I can't determine, the change to os.close(2) on the > > child, in order to ensure proper daemonisation, does not work on one > > of my systems. > > Does it work without os.close(2)? And, does it work with adding a
Without - yes it worked - but then we have the problem that the original bug report (268113 -- forgot to submit this report as a followup to that bug instead of creating a new one) was about. > os.dup2(out_fd, 2) after the os.close(2)? Why yes - I think that's the ticket. Seems to solve both problems! 'Course, don't know what happens when something decides to error out and start writing to stderr at the wrong time... -- TimC -- http://astronomy.swin.edu.au/staff/tconnors/ "These people [spam fighters] will go to the lowest depths," -- Tom Cowles, spammer and convicted thief. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

