diff --git a/src/org/testKitGen/TestDivider.java b/src/org/testKitGen/TestDivider.java index 8d503d7f..fd7de2cd 100644 --- a/src/org/testKitGen/TestDivider.java +++ b/src/org/testKitGen/TestDivider.java @@ -226,7 +226,15 @@ private Map getDataFromTRSS() { String level = getLevel(); Map map = new HashMap(); String URL = constructURL(impl, plat, group, level); - String command = "curl --silent --max-time 120 -L " + URL; + String osName = System.getProperty("os.name").toLowerCase(); + String command; + + if (osName.contains("win")) { + command = "cmd.exe /c curl --silent --max-time 120 -L -k \"" + URL + "\""; + } else { + command = "curl --silent --max-time 120 -L -k " + URL; + } + System.out.println("Attempting to get test duration data from TRSS."); System.out.println(command); Process process;