-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keep terminal open after run command #11
Comments
hi blezek, currently, the As a result of such modification, NodeMCU would keep the connection open for a infinite time and has to be killed by an external process... are you using NodeMCU-Tool within an external application ? |
@AndiDittrich Appreciate you getting back to me. Here's my typical use case.
If I could have the This make more sense? |
Hi Daniel, my suggestion is to add a with this enhancement you could create a simple shell script like this to speed up the development process debug.sh #!/bin/bash
# upload the file
nodemcu-tool upload src/blynk.lua
# run the file "blynk.lua" within a new nodemcu terminal session
nodemcu-tool terminal --run "blynk.lua" this shall reduce your workload to a single cli statement like btw. you should consider to create a project based configuration to store the tty settings |
Your suggestion would be fantastic! I really like your tool, between it and Let me know when it's ready, and I'll test it out. Thanks, |
ready! Example 1 $ nodemcu-tool terminal --run helloworld.lua
[SerialTerminal] Starting Terminal Mode - press ctrl+c to exit
dofile("helloworld.lua")
Hello World!
|---|
| H |
| E |
| L |
| L |
| O |
| | |
| W |
| O |
| R |
| L |
| D |
|---|
YEAH!!! HELLO WORLD!!!
String: Lorem ipsum dolor sit amet, consetetur sadipscing elitr |
Perfect, looking forward to trying it out soon. |
Would like an option to keep the terminal open after a
run
command. Because the ESP8266 is event driven, often my scripts produce output long afterNodeMCU-Tool
closes the serial terminal after running a lua file. A flag to the command would be most helpful.The text was updated successfully, but these errors were encountered: