i want to launch some programs from my node-red server.
My Problem is that the programs are running but i don't see the window.
example:
command: C:/WINDOWS/system32/notepad.exe
i get a pid and if i lookup the pid in the taskmanager i see the running program.
But there is no notepad window on the desktop.
exec mode:
execution code shown in the TaskManager: C:\WINDOWS\system32\cmd.exe /d /s /c "C:/WINDOWS/system32/notepad.exe"
spawn mode:
execution code shown in the TaskManager: C:/WINDOWS/system32/notepad.exe
Could have been done with PowerShell instead which would likely be more robust than VBS which is not only old technology and therefore quite likely to disappear over the next few years but also may be blocked on enterprise desktops.
Probably not an issue for you but thought I'd mention it in case someone else comes across this in the future.