How to prevent console from being displayed when using VLC's dummy interface

前端 未结 3 1245
天命终不由人
天命终不由人 2021-01-19 12:59

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 windo

3条回答
  •  一生所求
    2021-01-19 13:31

    Maybe you could run the process with child_process.spawn('start', ['/b', 'vlc', '-I dummy']) instead?

提交回复
热议问题