Simplify LocalSpawnRunner
PiperOrigin-RevId: 153444516
diff --git a/src/main/java/com/google/devtools/build/lib/shell/TerminationStatus.java b/src/main/java/com/google/devtools/build/lib/shell/TerminationStatus.java
index 2f75b5e..abee000 100644
--- a/src/main/java/com/google/devtools/build/lib/shell/TerminationStatus.java
+++ b/src/main/java/com/google/devtools/build/lib/shell/TerminationStatus.java
@@ -86,11 +86,9 @@
}
/**
- * Returns the "raw" result returned by Process.waitFor. This value is not
- * precisely defined, and is not to be confused with the value passed to
- * exit(2) by the subprocess. Use getTerminationStatus() instead.
+ * Returns the exit code returned by the subprocess.
*/
- int getRawResult() {
+ public int getRawExitCode() {
return waitResult;
}