Commit 070bc0e2 authored by atraczyk's avatar atraczyk Committed by gerrit2

build: windows UWP API support

- system is not supported in the UWP API

Change-Id: I884e998f499a8c19aa52db1d67df5b90ac890587
Tuleap: #790
parent 77c14505
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment