Jellyswat
Jellyswat
I use NodeJs to start scrcpy code like this ``` // start scrcpy by JS subprocess module let subProcess = childProcess.spawn(command, { shell: true }); // listen scrcpy's stdout subProcess.stdout.on('data',...
Yes. I want to got the console output like `INFO: Recording started` immediately~ When I use 1.24, it's normal, but 2.0 doesn't work anymore. Is there any suggestion?
I listen to `stderr` like `subProcess.stderr.on('data', async res => { console.log(res); });` But i got the same situation. Not fixed..
@rom1v Hi ~ Do we have any suggestion?
Well, Lets see is there any way to disable stdout buffering in NodeJS. Thanks for your helping ~~
@rom1v For a long time search in StackOverflow and 'Node' repo issue, I found that stdout has a buffer area while stderr does not. Means, Stderr will print msg immediately.(That's...