It seems a complicated way of printing Hello World so I guess you have simplified things somewhat.
Can't you use just one script, or call script2 directly from script1?
If the scripts are running continuously, the exec node is the wrong approach since it will attempt to start another instance of the script.
With a situation like this, on Linux, I would set up the script[s] as systemd jobs and pass data to and from Node-red by MQTT.