forked from qt-creator/qt-creator
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:
@@ -67,7 +67,7 @@ using namespace Utils;
|
|||||||
namespace Android {
|
namespace Android {
|
||||||
namespace Internal {
|
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]*; "
|
static const QString pidScriptPreNougat = QStringLiteral("for p in /proc/[0-9]*; "
|
||||||
"do cat <$p/cmdline && echo :${p##*/}; done");
|
"do cat <$p/cmdline && echo :${p##*/}; done");
|
||||||
static const QString pidPollingScript = QStringLiteral("while [ -d /proc/%1 ]; do sleep 1; done");
|
static const QString pidPollingScript = QStringLiteral("while [ -d /proc/%1 ]; do sleep 1; done");
|
||||||
|
Reference in New Issue
Block a user