i have a bat file to run my custom commands for scrcpy. But how can i make it no console? I only want the device window to be displayed
Call scrcpy-no-console.exe instead of scrcpy.exe?
I loaded the V1.12.1 but calling "scrcpy-noconsole.exe" still show the command prompt console...
The following would still show up.
INFO: scrcpy 1.12.1 https://github.com/Genymobile/scrcpy
INFO: Initial texture: 1080x2160
Out of curiosity, if you just click on scrcpy-noconsole.exe, it does not open a console, right?
Show your .bat content.
It is correct.
scrcpy-noconsole.exe --bit-rate 12M --render-expired-frames
I guess the "INFO" come from Android Server side, right ? Any way not showing it when using batch file ?
I did run noconsole.exe without any bat. It stilll shows the console.
I did run noconsole.exe without any bat. It stilll shows the console.
Updated the scrcpy its working now, but still not working on bat command
My bat command:
scrcpy-noconsole.exe -m 1010 --always-on-top -S
Log on cmd just like usual scrcpy log:
D:\Programverse\Apps\scrcpy-win64-v1.12.1>scrcpy-noconsole.exe -m 1010 --always-on-top -S
INFO: scrcpy 1.12.1 https://github.com/Genymobile/scrcpy
INFO: Initial texture: 464x1008
The console is opened to execute a .bat.
Try adding start in your script to start scrcpy and continue:
start scrcpy-noconsole.exe ...
The console is opened to execute a
.bat.Try adding
startin your script to start scrcpy and continue:start scrcpy-noconsole.exe ...
OK that's works just fine. Thanks
Most helpful comment
The console is opened to execute a
.bat.Try adding
startin your script to start scrcpy and continue: