This patch adds a dotest flag for setting environment variables for the inferior. This is different from the current --env flag, which sets variables in the debugger's environment. This allows us to set things like LD_LIBRARY_PATH for testing.
|1861 ↗||(On Diff #206523)|
env or settings set target.env-vars? On Windows, where spaces in paths are common, this works:
(lldb) settings set target.env-vars "MY_PATH=C:\Program Files\stuff"
but this doesn't:
(lldb) env "MY_PATH=C:\Program Files\stuff"