[Python-ideas] Draft PEP (version 0.4): Standard daemon process library

Antoine Pitrou solipsis at pitrou.net
Thu Jan 29 23:07:32 CET 2009


Ben Finney <ben+python at ...> writes:
> 
> What would be appropriate behaviour in the case of a stale PID file?
> Abort the daemonisation attempt? Delete the stale lock file silently
> and continue as though it didn't exist?

Delete the stale lock file silently and continue as though it didn't exist.
(and, of course, create another one for the current process)





More information about the Python-ideas mailing list