Skip to content
Snippets Groups Projects
Commit 070bc0e2 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by gerrit2
Browse files

build: windows UWP API support

- system is not supported in the UWP API

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