Android: Fix debugging on Windows

The pid script was wrongly quoted on Windows resulting in not having
logcat ability, and no debugging.

Change-Id: Ica40d033b61b69bb2372f54f0eba19ae1d2e3c9f
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
Cristian Adam
2019-11-19 18:27:35 +01:00
committed by hjk
parent 748e5bd5b9
commit b6ab85a440

View File

@@ -67,7 +67,7 @@ using namespace Utils;
namespace Android {
namespace Internal {
static const QString pidScript = "pidof -s \"%1\"";
static const QString pidScript = "pidof -s '%1'";
static const QString pidScriptPreNougat = QStringLiteral("for p in /proc/[0-9]*; "
"do cat <$p/cmdline && echo :${p##*/}; done");
static const QString pidPollingScript = QStringLiteral("while [ -d /proc/%1 ]; do sleep 1; done");