Merge branch 'bugfix/idf_monitor_baudrate_arg_crash_v4.0' into 'release/v4.0'

idf monitor: fix crash when monitor baudrate argument set (Backport v4.0)

See merge request espressif/esp-idf!9761
This commit is contained in:
Ivan Grokhotkov 2020-11-09 16:47:08 +08:00
commit 5738a833fa

View File

@ -90,6 +90,7 @@ def _run_tool(tool_name, args, cwd):
return "'" + arg + "'"
return arg
args = [str(arg) for arg in args]
display_args = " ".join(quote_arg(arg) for arg in args)
print("Running %s in directory %s" % (tool_name, quote_arg(cwd)))
print('Executing "%s"...' % str(display_args))