Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No-Console Batch file code to run with other commands. --no-console? #2830

Closed
JASHIKO opened this issue Nov 26, 2021 · 1 comment
Closed

Comments

@JASHIKO
Copy link

JASHIKO commented Nov 26, 2021

Hello,
sorry if this has been asked a million times, but is it possible to create a batch file that opens SCRCPY without the console window? I have a batch file that does what I want now, however, I would like it to open scrcpy without the console window. Is this possible at all? And if so what command would i need to enter --no-console? or something similar?

Thanks.

@rom1v
Copy link
Collaborator

rom1v commented Nov 26, 2021

There is a scrcpy-noconsole.vbs script in the release. It runs scrcpy without the console.

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows

And if so what command would i need to enter --no-console?

A command line parameter to not start a console would not be possible: when scrcpy is started, it's too late for Windows, the console is already open. See #1988 (comment).
That's why there's a separate VBS script.

@rom1v rom1v closed this as completed Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants