From 9cac38fe589070085b411859141e4af196154124 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Fri, 23 Mar 2018 09:57:45 +0100 Subject: [PATCH] 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. --- FAQ.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/FAQ.md b/FAQ.md index 63ee0c32..4447dfec 100644 --- a/FAQ.md +++ b/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 [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