diff --git a/es-core/src/Scripting.cpp b/es-core/src/Scripting.cpp index cf575a62f..7eff423d9 100644 --- a/es-core/src/Scripting.cpp +++ b/es-core/src/Scripting.cpp @@ -89,7 +89,11 @@ namespace Scripting .append(arg4) .append(arg4Quotation); LOG(LogDebug) << "Executing: " << script; +#if defined(__ANDROID__) + Utils::Platform::runSystemCommand("sh " + script); +#else Utils::Platform::runSystemCommand(script); +#endif } } }