1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

Added Windows XP to list of OSes that set the command to "cmd.exe /c set"

This commit is contained in:
Judy N. Green 2002-08-16 13:00:18 +00:00
parent 4daeebfcaa
commit 459524d7e4

View file

@ -35,7 +35,9 @@ public class EnvironmentReader {
//The buffered stream doesn't always like windows 98
check_ready = true;
} else if ((OS.indexOf("nt") > -1) || (OS.indexOf("windows 2000") > -1)) {
} else if ((OS.indexOf("nt") > -1)
|| (OS.indexOf("windows 2000") > -1)
|| (OS.indexOf("windows xp") > -1)) {
command = "cmd.exe /c set";
}
p = ProcessFactory.getFactory().exec(command);