mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Pass all options to remote serial monitor
This commit is contained in:
@ -245,7 +245,8 @@ def _device_monitor(ctx, **kwargs):
|
|||||||
sleep(0.1)
|
sleep(0.1)
|
||||||
if not t.is_alive():
|
if not t.is_alive():
|
||||||
return
|
return
|
||||||
ctx.invoke(cmd_device_monitor, port=open(sock_file).read())
|
kwargs['port'] = open(sock_file).read()
|
||||||
|
ctx.invoke(cmd_device_monitor, **kwargs)
|
||||||
t.join(2)
|
t.join(2)
|
||||||
finally:
|
finally:
|
||||||
util.rmtree_(sock_dir)
|
util.rmtree_(sock_dir)
|
||||||
|
Reference in New Issue
Block a user