>>>>> "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 becomes the owner of this child process.

>VS> Is it the thread that spawned becomes the owner or is the main program
>VS> becomes the owner of that child process.

Owner (parent) is the process, not a thread.
-- 
Piet van Oostrum <[EMAIL PROTECTED]>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to