commit | fbb03541fba028be2b439d93b27a64fd5178c932 | [log] [tgz] |
---|---|---|
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Mon Feb 11 16:27:29 2008 +0000 |
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Mon Feb 11 16:27:29 2008 +0000 |
tree | 47fc6d8bdeb50ee519c3b967a70e409d368af066 | |
parent | 6cf3bb314d2b9727cc0d294f64a2b4a17e5abffc [diff] |
Fix up how SSHHost kills its logging processes so that it never kills random processes or process groups. Basically, hold on to the subprocess.Popen objects that are being used to spawn the loggers and use Popen.poll() calls to check if the loggers are actually still running before killing them. Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1231 592f7852-d20e-0410-864c-8624ca9c26a4