start function in new process

2010-03-05 Thread wongjoek...@yahoo.com
Hello all, I would like to run a python function completely in a new process. For example I have a parent process. That parent process needs to start a child process in which the function is called. After the child process is finished however I want that the child process should stop and then only

Re: start function in new process

2010-03-05 Thread wongjoek...@yahoo.com
On 5 mrt, 20:40, "Martin P. Hellwig" wrote: > On 03/05/10 19:21, wongjoek...@yahoo.com wrote: > > Any specific reason why threading.Thread or multiprocessing is not > suitable to solve your problem? > > -- > mph Because I got a memory leak in my function f(). It

Re: start function in new process

2010-03-05 Thread wongjoek...@yahoo.com
On 5 mrt, 21:02, "Martin P. Hellwig" wrote: > On 03/05/10 19:45, wongjoek...@yahoo.com wrote: > > > > > On 5 mrt, 20:40, "Martin P. Hellwig" > > wrote: > >> On 03/05/10 19:21, wongjoek...@yahoo.com wrote: > >> > >> Any speci

Re: start function in new process

2010-03-06 Thread wongjoek...@yahoo.com
On 5 mrt, 21:40, "Martin P. Hellwig" wrote: > On 03/05/10 20:09, wongjoek...@yahoo.com wrote: > > > > > On 5 mrt, 21:02, "Martin P. Hellwig" > > wrote: > >> On 03/05/10 19:45, wongjoek...@yahoo.com wrote: > > >>> On 5 mrt, 20:40,