Create a new process to run python function

Joe Riopel goon12 at gmail.com
Wed May 5 09:20:32 EDT 2010


On Wed, May 5, 2010 at 8:56 AM, Massi <massi_srb at msn.com> wrote:
> but this does not work, since the two threads share the same pid. Can
> anyone give me a suggestion?

Have you looked at os.fork ?
http://docs.python.org/library/os.html#os.fork



More information about the Python-list mailing list