mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
When this variable is set to non-empty string it triggers the REPL after a command/module/file finishes running. The Python file without the file extension is because the cmdline: parser in run-test splits on spaces, so we can't use the -c option since `import os` can't be written without a space.
6 lines
166 B
Plaintext
6 lines
166 B
Plaintext
MicroPython \.\+ version
|
|
Use \.\+
|
|
>>> # cmdline: cmdline/repl_micropyinspect
|
|
>>> # setting MICROPYINSPECT environment variable before program exit triggers REPL
|
|
>>>
|