Single quotes ' in commands are not escaped correctly
print('foo')
python -m mpremote connect /dev/ttyACM0 exec 'print('foo')'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'foo' isn't defined
print("foo")
python -m mpremote connect /dev/ttyACM0 exec 'print("foo")'
Single quotes
'in commands are not escaped correctlyprint('foo')python -m mpremote connect /dev/ttyACM0 exec 'print('foo')'print("foo")python -m mpremote connect /dev/ttyACM0 exec 'print("foo")'