command.setExePath(goCommand);
command.addParameter("version");
command.withWorkDirectory(path);
command.getEnvironment().put("GOROOT", path);
ProcessOutput output = new CapturingProcessHandler(
command.createProcess(),
Charset.defaultCharset(),
command.getCommandLineString()).runProcess();
if (output.getExitCode() != 0) {