in teamcity-symbol-agent/src/main/java/jetbrains/buildServer/symbols/tools/JetSymbolsExe.java [105:118]
private ExecResult executeCommandLine(GeneralCommandLine commandLine, BuildProgressLogger buildLogger) {
buildLogger.message(String.format("Running command %s", commandLine.getCommandLineString()));
final ExecResult execResult = SimpleCommandLineProcessRunner.runCommand(commandLine, null);
if (execResult.getExitCode() != 0) {
buildLogger.warning(String.format("%s completed with exit code %s.", SYMBOLS_EXE, execResult));
buildLogger.warning("Stdout: " + execResult.getStdout());
buildLogger.warning("Stderr: " + execResult.getStderr());
final Throwable exception = execResult.getException();
if(exception != null){
buildLogger.exception(exception);
}
}
return execResult;
}