commit | 223e808ff04ddefb64861f8d8b99e1c6651a5222 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Sat Jan 21 04:26:24 2012 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Sat Jan 21 04:26:24 2012 +0000 |
tree | 460c6d19f3466698d4e015dd266e262a27c94952 | |
parent | 838c27d71d7e501635e2dc8e48891c678aab2bad [diff] |
Use the "shlex" module to parse the command line that was passed down into python so that single and double quotes and other standard shell like argument parsing happens as expected before passing stuff along to option parsing. Also handle exceptions so that we don't accidentally exit lldb if an uncaught exception occurs. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148623 91177308-0d34-0410-b5e6-96231b3b80d8