Describe workaround to get output on Windows
Since nothing is printed to the console, we need a way to get the output in case of errors. Describe how in the README.
This commit is contained in:
parent
f00c6c5b13
commit
9cac38fe58
1 changed files with 11 additions and 0 deletions
11
FAQ.md
11
FAQ.md
|
@ -15,6 +15,17 @@ When run in `cmd.exe`, the application does not print anything. Even `scrcpy
|
||||||
However, if you run the very same `scrcpy.exe` from
|
However, if you run the very same `scrcpy.exe` from
|
||||||
[MSYS2](https://www.msys2.org/) (`mingw64`), then it correctly prints output.
|
[MSYS2](https://www.msys2.org/) (`mingw64`), then it correctly prints output.
|
||||||
|
|
||||||
|
As a workaround, redirect outputs to files, so that you can read the files
|
||||||
|
afterwards:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
scrcpy >stdout 2>stderr
|
||||||
|
type stdout
|
||||||
|
type stderr
|
||||||
|
```
|
||||||
|
|
||||||
|
_Note that all SDL logs are printed to stderr._
|
||||||
|
|
||||||
|
|
||||||
### On Windows, when I start the application, nothing happens
|
### On Windows, when I start the application, nothing happens
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue