diff --git a/src/plugin.c b/src/plugin.c index e6ceebf1..a5cfe015 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -110,7 +110,11 @@ start_ss_plugin(const char *plugin, if (plugin_opts != NULL) cork_env_add(env, "SS_PLUGIN_OPTIONS", plugin_opts); +#ifdef __ANDROID__ + exec = cork_exec_new_with_params("sh", "-c", plugin, NULL); +#else exec = cork_exec_new_with_params(plugin, NULL); +#endif cork_exec_set_env(exec, env);