Modified to use SBTarget.LaunchSimple() API.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132082 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/examples/python/disasm.py b/examples/python/disasm.py
index 8a7e5a1..9dd2b74 100755
--- a/examples/python/disasm.py
+++ b/examples/python/disasm.py
@@ -37,8 +37,7 @@
# Launch the process. Since we specified synchronous mode, we won't return
# from this function until we hit the breakpoint at main
- error = lldb.SBError()
- process = target.Launch (debugger.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error)
+ process = target.LaunchSimple (None, None, os.getcwd())
# Make sure the launch went ok
if process: