PEP 3143: Standard daemon process library

Ben Finney ben+python at benfinney.id.au
Wed Mar 25 09:46:47 EDT 2009


Ben Finney <ben+python at benfinney.id.au> writes:

> I've submitted PEP 3143
> <URL:http://www.python.org/dev/peps/pep-3143/> to meet this need,
> and have re-worked an existing library into a new ‘python-daemon’
> <URL:http://pypi.python.org/pypi/python-daemon/> library, the
> reference implementation.
> 
> Now I need wider testing and scrutiny of the implementation and
> specification.

Thank you to those who have submitted bug reports so far. I have
addressed some bugs and uploaded version 1.4.4 of ‘python-daemon’ to
PyPI. Changes include:

* Catch and report some OSError exceptions thrown by various steps.

* Wait until later in the daemonisation process to cloase all open
  file descriptors. This gives a chance to see errors reported earlier
  in the process!

* Redirect standard streams to the null device if no stream specified.

Testing and feedback is still welcome, I want to knock this PEP and
implementation into better shape.

-- 
 \             “I have never imputed to Nature a purpose or a goal, or |
  `\    anything that could be understood as anthropomorphic.” —Albert |
_o__)                                    Einstein, unsent letter, 1955 |
Ben Finney



More information about the Python-list mailing list