How to daemonize a HTTPServer

nemi nemjain at gmail.com
Fri Sep 2 09:12:18 CEST 2011


On Sep 1, 6:32 am, "Martin P. Hellwig" <martin.hell... at gmail.com>
wrote:
> On 01/09/2011 04:16, babbu Pehlwan wrote:
>
> > I have written a http server using BaseHTTPServer module. Now I want
> > to instantiate it through another python script. The issue here is
> > after instantiate the control doesn't come back till the server is
> > running. Please suggest.
>
> Sounds like something you could use the multiprocessing module for, but
> then again my crystal ball is a bit fuzzy today.
>
> --
> mph

Thanks dear, the issue get solved now. You are absolutely right,
actually I was daemonising the same thread. Now I have created a
seperate thread for the server.



More information about the Python-list mailing list