Node-RED version: v4.0.2
Node.js version: v20.7.0
Windows_NT 10.0.19045 x64 LE
I'm running the following command in an exec node D:\PortablePrograms\Cam2ip\cam2ip.exe with the additional parameters -width 1920 -height 1080 -bind-addr ":4567" -nowebgl included.
It used to work fine but since updating it seems to spawn a console window regardless of if the Hide console option is checked of not. I tried setting a timeout but that only seems to kill the main process/PID that the node reports. However, that PID does not seem to match the running executable (cam2ip.exe) so it doesn't get killed properly nor does the console window process.
Now, I'm assuming that is because the console window is a subprocess. What are my options here? Can I run it backgrounded somehow? Or at least kill the processes automatically after a short delay?
I'm basically just using it to grab a single frame from my webcam then kill the process. Does anyone know of a simple alternative program or method to achieve a similar result?