From c694751a06f2b61586b24798f84f7d88452dd3b5 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 13 Dec 2013 19:18:59 +0000 Subject: Correctly set the working directory when launching processes for both local and remote targets. llvm-svn: 197266 --- lldb/test/python_api/hello_world/TestHelloWorld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/test/python_api/hello_world') diff --git a/lldb/test/python_api/hello_world/TestHelloWorld.py b/lldb/test/python_api/hello_world/TestHelloWorld.py index 088477b79d8..58250a5ad85 100644 --- a/lldb/test/python_api/hello_world/TestHelloWorld.py +++ b/lldb/test/python_api/hello_world/TestHelloWorld.py @@ -117,7 +117,7 @@ class HelloWorldTestCase(TestBase): # rdar://problem/8364687 # SBTarget.Launch() issue (or is there some race condition)? - process = target.LaunchSimple(None, None, os.getcwd()) + process = target.LaunchSimple (None, None, self.get_process_working_directory()) # The following isn't needed anymore, rdar://8364687 is fixed. # # Apply some dances after LaunchProcess() in order to break at "main". -- cgit v1.2.3