[Lldb-commits] [lldb] [LLDB] Add a target.launch-working-dir setting (PR #113521)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 31 04:20:10 PDT 2024


DavidSpickett wrote:

> process launch -w does not carry the working dir to subsequent launches.
> * Please open an issue for that.

Actually this is not a bug. `process launch` and `run` are two separate (at least from the user perpsective) ways to run a program.

I think if you should just add to this help text:
```
       -w <directory> ( --working-dir <directory> )
            Set the current working directory to <path> when running the inferior.
```
To note that it only applies to that launch and that anyone who wants a sticky setting, should use the setting you're adding here.

https://github.com/llvm/llvm-project/pull/113521


More information about the lldb-commits mailing list