Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > RE: Pexpect getting a defuct process

Reply
Thread Tools

RE: Pexpect getting a defuct process

 
 
Baillargeon, Sonny
Guest
Posts: n/a
 
      01-04-2005
Nothing...I know that's the default answer but considering I control the environment, I can assure you that nothing changed.

-----Original Message-----
From: Jorge Luiz Godoy Filho [private.php?do=newpm&u=]
Sent: Tuesday, January 04, 2005 12:06 PM
To: python-
Subject: Re: Pexpect getting a defuct process

Baillargeon, Sonny, Terça 04 Janeiro 2005 14:42, wrote:

> This used to work before but now I get a defunct process after it runs.
> Any ideas?


"before" what? What has changed in your environment to make it stop working?

--
Godoy. <>





<FONT SIZE = 1>************************************************ ****************************
This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. Unless otherwise stated, opinions expressed in this e-mail are those of the author and are not endorsed by the author's employer.</FONT>

 
Reply With Quote
 
 
 
 
Jorge Luiz Godoy Filho
Guest
Posts: n/a
 
      01-04-2005
Baillargeon, Sonny, Terça 04 Janeiro 2005 16:16, wrote:

> Nothing...I know that's the default answer but considering I control the
> environment, I can assure you that nothing changed.


I have no reason to doubt you.

Checking pexpect's documentation, and re-reading your code I see that you
have not called "close()". As the documentation says:

(http://pexpect.sourceforge.net/doc/pexpect.html)
"""
close(self, wait=1)
(...)
Only set wait to false if you know the child will
continue to run after closing the controlling TTY.
Otherwise you will end up with defunct (zombie) processes.
"""


Be seeing you,
--
Godoy. <>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pexpect on windows - child process of another child process - quickquestion Z W Python 0 03-09-2013 10:00 PM
Changing the system clock with pexpect confuses pexpect! Saqib Ali Python 1 12-26-2011 01:51 PM
Can I get use pexpect to control this process? Saqib Ali Python 0 12-21-2011 09:23 AM
get the pid of a process with pexpect Karim Bernardet Python 2 05-06-2008 12:43 PM
Pexpect getting a defuct process Baillargeon, Sonny Python 1 01-04-2005 05:06 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57