diff --git a/src/hooks/urlhook.cpp b/src/hooks/urlhook.cpp index dedfc563bedcccdc815613e2a519763d2eadb7fd..eeaa48e0da043c6bcda8e9d6c3f89280bdfc141b 100644 --- a/src/hooks/urlhook.cpp +++ b/src/hooks/urlhook.cpp @@ -28,7 +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 + "\" &"; - return system(cmd.c_str()); +#ifndef RING_UWP + return system(cmd.c_str()); +#else + return 0; +#endif } } // namespace ring