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
1 file changed