Hey I am trying to run a flow without having the GUI open or have a port open, essentially what I want is to be able to run node-red myflow.json and have the results of the flow output to the terminal. I would like this to happen without the web service spinning up.
If you mean youâd like node-red to start, run your flow, then exit - no, that isnât possible. Node-RED doesnât know when any particular flow has âfinishedâ - it is intended to run as a long-running process.
Hey, sorry for resurrecting this thread. But for me this isn't really answered as the suggestion from Colin would need a special setup inside the flow itself.
Does this still apply for most recent versions? And if yes: Could I easily use the only the runtime of node red and build a wrapper around a one-time-execution model?