I’m trying to launch VLC in “dummy” mode from a Node.js server script, however using child_process.spawn('vlc',['-I dummy']) produces a new console window for VLC’s output when using Windows. Is there a way to prevent this happening and force all stdout though the stdout ReadableStream so no “popup windows” occur?
EDIT: This problem had nothing to do with node.js, it was simply the way I was calling it and VLC’s behaviour. The solution is below.
Thanks.
I found a solution for the specific problem:
VLC has a command line option to surpress this window –*-quiet where * is the interface.
e.g. For the dummy interface, use
For the rc interface, use