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

Auto-hide Cmdprompt server window after start? And auto-exit adb.exe at scrcpy exit? #5128

Open
tobwz opened this issue Jul 22, 2024 · 1 comment

Comments

@tobwz
Copy link

tobwz commented Jul 22, 2024

As far as I can see scrcpy starts at first its local server and opens a CmdPrompt window for it.

Can I somehow prevent the visibility of this window? It should run hidden in background (or at most in Systray)

Related to this: when I exit scrcpy the adb.exe process continues to run in background.

How can I auto-exit adb.exe when I exit scrcpy window in foreground?

@rom1v
Copy link
Collaborator

rom1v commented Jul 22, 2024

Can I somehow prevent the visibility of this window?

Use scrcpy-noconsole.vbs: https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run

More details: #1988 (comment)

How can I auto-exit adb.exe when I exit scrcpy window in foreground?

--kill-adb-on-close #2580

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