[Lldb-commits] [PATCH] D112802: [lldb/test] Replace shlex.join with shlex.quote

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 29 04:40:13 PDT 2021


teemperor accepted this revision.
teemperor added a comment.
This revision is now accepted and ready to land.

Thanks!



================
Comment at: lldb/packages/Python/lldbsuite/support/seven.py:54
+
+def join_for_shell(split_command):
+    return " ".join([shlex.quote(part) for part in split_command])
----------------
```
TODO: Replace this with `shlex.join` when minimum Python version is >= 3.8
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112802/new/

https://reviews.llvm.org/D112802



More information about the lldb-commits mailing list