Search found 2 matches

by generator87
Sun Dec 05, 2021 12:11 am
Forum: General Discussion and Questions
Topic: chain of commands to connect to port and execute script does not work in mpremote
Replies: 1
Views: 2277

Re: chain of commands to connect to port and execute script does not work in mpremote

Solution is found. It is addition of print

mpremote connect COM2 exec "import os; print(os.listdir())"
by generator87
Sat Dec 04, 2021 12:59 am
Forum: General Discussion and Questions
Topic: chain of commands to connect to port and execute script does not work in mpremote
Replies: 1
Views: 2277

chain of commands to connect to port and execute script does not work in mpremote

Trying to run this chain and getting nothing in reply: mpremote connect COM2 exec "import os; os.listdir()" but when I add mount to this after changing setup chain then it works: mpremote connect COM2 mount . exec "import os; os.listdir()" also tried to first run this: mpremote connect COM2 and rece...