[runtime] Avoid passing commands to lldb using the python api, it doesn't seem to work well in script files. Fixes #19732.