Genymobile / Genymobile/scrcpy

Cannot start scrcpy with python script

Open
#5,293 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

Hello,

do you know I can start this app via python and not have the win cmd window on windows stay open? There are many print logs that prevent the window from closing.

If i force close the window it also closes the app.

Here is my code and i literally tried 10 different approaches:

```
subprocess.Popen(['C:/scrcpy-win64-v1.23/scrcpy.exe'], shell=False)
```

Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Windows launch shown in the issue with Python's subprocess.Popen and scrcpy.exe. Determine whether the console behavior is controlled by scrcpy.exe or by the Python/Windows process setup; done means the app remains open without the command window, with no project file or test named in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.