diff options
author | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2003-06-04 00:07:45 +0000 |
---|---|---|
committer | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2003-06-04 00:07:45 +0000 |
commit | ecc44fabf7ad6bb030b8f21a1afc5292d8796771 (patch) | |
tree | aa1c810d2d0a36126a5d026b294f83783d41cc4f | |
parent | 7aaddfdc213683eca5422f839ac4d9b06233a484 (diff) | |
download | pexpect-ecc44fabf7ad6bb030b8f21a1afc5292d8796771.tar.gz |
Beefed up some of the comments.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@203 656d521f-e311-0410-88e0-e7920216d269
-rw-r--r-- | pexpect/pexpect.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pexpect/pexpect.py b/pexpect/pexpect.py index 03504a6..bc48ca9 100644 --- a/pexpect/pexpect.py +++ b/pexpect/pexpect.py @@ -222,11 +222,13 @@ class spawn: Note that calling close() more than once is valid. This emulates standard Python behavior with files. If wait is set to True then close will wait - for the exit status of the process. This is a blocking call, - but this usually takes almost no time at all. If you are + for the exit status of the process. Doing a wait is a blocking call, + but this usually takes almost no time at all. Generally, + you don't have to worry about this. If you are creating lots of children then you usually want to call wait. - Only set wait to false if yo uknow the child will + 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. """ if self.child_fd != -1: if not self.__child_fd_owner: |