Skip to content
Snippets Groups Projects
Commit 9031f167 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

fix: don't run system commands on iOS

Change-Id: I12eabe030e084a274e4774ff1314d129323cf8bd
parent df0a8fe1
No related branches found
No related tags found
No related merge requests found
......@@ -28,10 +28,11 @@ int UrlHook::runAction(const std::string &command, const std::string &args)
//FIXME : use fork and execve, so no need to escape shell arguments
const std::string cmd = command + (args.empty() ? "" : " ") +
"\"" + args + "\" &";
#ifndef RING_UWP
return system(cmd.c_str());
#else
#if defined(RING_UWP) || defined(TARGET_OS_IOS)
return 0;
#else
return system(cmd.c_str());
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment