mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Added Windows XP to list of OSes that set the command to "cmd.exe /c set"
This commit is contained in:
parent
4daeebfcaa
commit
459524d7e4
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,9 @@ public class EnvironmentReader {
|
||||||
//The buffered stream doesn't always like windows 98
|
//The buffered stream doesn't always like windows 98
|
||||||
check_ready = true;
|
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";
|
command = "cmd.exe /c set";
|
||||||
}
|
}
|
||||||
p = ProcessFactory.getFactory().exec(command);
|
p = ProcessFactory.getFactory().exec(command);
|
||||||
|
|
Loading…
Add table
Reference in a new issue