Fix escaping of additional app parameters in adb shell command
Change-Id: I80e5b98efbc9654c684b3d78ba0d6688c21bd0f3 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
parent
662fec6f0d
commit
f5c118b6b8
@ -362,7 +362,7 @@ static bool parseTestArgs()
|
||||
g_options.testArgs += QStringLiteral(" -o output.%1,%1").arg(format);
|
||||
|
||||
g_options.testArgs += unhandledArgs;
|
||||
g_options.testArgs = QStringLiteral("shell am start -e applicationArguments \"'%1'\" -n %2/%3").arg(shellQuote(g_options.testArgs.trimmed()),
|
||||
g_options.testArgs = QStringLiteral("shell am start -e applicationArguments \\\"%1\\\" -n %2/%3").arg(shellQuote(g_options.testArgs.trimmed()),
|
||||
g_options.package,
|
||||
g_options.activity);
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user