Re: Owner of spawned process in threads

2007-10-04 Thread Piet van Oostrum
> "Vishal Sethia" <[EMAIL PROTECTED]> (VS) wrote: >VS> Just trying to understand the behaviour of spawn. Consider I have a >VS> function which creates two threads. And in one of the threads I make a >VS> call to pexpect.spawn. spawn would fork and create a new new child In >VS> this case who b

Owner of spawned process in threads

2007-10-04 Thread Vishal Sethia
Just trying to understand the behaviour of spawn. Consider I have a function which creates two threads. And in one of the threads I make a call to pexpect.spawn. spawn would fork and create a new new child In this case who becomes the owner of this child process. Is it the thread that spawned beco