if(isWindows()) {
ret = "win32-x86";
} else {
Expect expect = new Expect();
expect.env().add("SGE_ROOT=" + sgeRoot.getAbsolutePath());
expect.command().add( sgeRoot.getAbsolutePath() + File.separatorChar + "util" + File.separatorChar + "arch");
ArchExpectHandler archHandler = new ArchExpectHandler();
expect.add(archHandler);
try {