I have tried the following:const c = cp.spawn( 'test.bat', {stdio: ['ignore', log, log], detached: true, shell: false, windowsHide: true} )andconst c = cp.spawn( 'cmd.exe', ['/C', 'test.bat'], {stdio: ['ignore', log, log], detached: true, shell: false, windowsHide: true} )A new prompt opens in both cases (which I don't want)
Submitted July 14, 2018 at 07:21PM by TG__
No comments:
Post a Comment