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:
Romain Vimont 2018-03-23 09:57:45 +01:00
parent f00c6c5b13
commit 9cac38fe58

11
FAQ.md
View file

@ -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