In _join_daemon, don't use os.wait(). Instead, use waitpid, harmonizing the Unix and Windows approaches, and fixes #1741.
In _join_daemon, don't use os.wait(). Instead, use waitpid, harmonizing the Unix and Windows approaches, and fixes #1741.

cherrypy/cherrypy,Safihre/cherrypy,Safihre/cherrypy,cherrypy/cherrypy