commit | 35f439581cff6f6a1b35e935b90ed2811ea10354 | [log] [tgz] |
---|---|---|
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Wed Mar 05 17:02:08 2008 +0000 |
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Wed Mar 05 17:02:08 2008 +0000 |
tree | f5bf752816ad2a4f14b47788e7b2067856a2b894 | |
parent | 6e2ffec8a247d84271dc86a1551c3ad543475d0f [diff] |
Convert _wait_for_command (in server.utils) to use Popen.poll instead of os.waitpid. We already use Popen objects which means that terminated processes may have already been reaped without our knowledge. The Popen.poll method can handle this case, but a raw waitpid call cannot. Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1302 592f7852-d20e-0410-864c-8624ca9c26a4