Fix misuse of python subprocess module (caused "leaking" processes and garbling the...
authorDaniel Malea <daniel.malea@intel.com>
Fri, 15 Feb 2013 21:21:52 +0000 (21:21 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Fri, 15 Feb 2013 21:21:52 +0000 (21:21 +0000)
commit2dd69bb5f2a2c8eae285626bd12dfa1aafb63b2b
treeb7266a5fe202b777c44d8a110f15ecdb5d28ee35
parent69fb3d11ec19d099fda2b64a89abea9fa906c4d5
Fix misuse of python subprocess module (caused "leaking" processes and garbling the terminal)
- fixed cleanup of Popen objects by pushing spawn logic into test Base and out of test cases
- connect subprocess stdin to PIPE (rather than the parent's STDIN) to fix silent terminal issue

Tested on Linux and Mac OS X

llvm-svn: 175301
lldb/test/functionalities/register/TestRegisters.py
lldb/test/lldbtest.py
lldb/test/python_api/hello_world/TestHelloWorld.py