idf monitor: fix crash when monitor baudrate argument set

Closes IDF-1902
This commit is contained in:
Marius Vikhammer
2020-07-09 14:23:02 +08:00
committed by bot
parent f28111b6fe
commit 5c64e5090e

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))