I uninstalled the nodes that gave warning messages in the log, now the startup log is clean
pi@raspberrypi:~ $ node-red-start
Start Node-RED
Once Node-RED has started, point a browser at http://192.168.178.210:1880
On Pi Node-RED works better with the Firefox or Chrome browser
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to http://flows.nodered.org
Starting as a systemd service.
Started Node-RED graphical event wiring tool..
14 Feb 22:43:12 - [info]
Welcome to Node-RED
===================
14 Feb 22:43:12 - [info] Node-RED version: v3.0.2
14 Feb 22:43:12 - [info] Node.js version: v16.19.0
14 Feb 22:43:12 - [info] Linux 4.19.66-v7+ arm LE
14 Feb 22:43:14 - [info] Loading palette nodes
14 Feb 22:43:18 - [info] Dashboard version 2.10.1 started at /ui
14 Feb 22:43:18 - [info] Settings file : /home/pi/.node-red/settings.js
14 Feb 22:43:18 - [info] Context store : 'default' [module=memory]
14 Feb 22:43:18 - [info] User directory : /home/pi/.node-red
14 Feb 22:43:18 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
14 Feb 22:43:18 - [warn] Flows file name not set. Generating name using hostname.
14 Feb 22:43:18 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
14 Feb 22:43:18 - [info] Server now running at http://127.0.0.1:1880/
14 Feb 22:43:18 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
14 Feb 22:43:19 - [info] Starting flows
14 Feb 22:43:19 - [info] Started flows
Is it possible to rename the post title?
from "How to read the output of BIGEXEC nodes"
to "How to read the output of EXEC / BIGEXEC node"
If you kill the process (you can do that by sending in a message with msg.kill set, as described in the help text for the node) then does the output all appear?
If you set the exec node to output on completion and then kill the process does it all appear?
Running this simple program, I would expect to see "Hello" messages in the MSG node while it's running, but these only appear, all at once, when the program completes.
C may be buffering the output. Google suggests you can force a flush using fflush(stdout);
after each printf.
Alternatively you may get the same effect by adding at the top setbuf(stdout, NULL);