in src/main/java/com/spotify/fmt/ForkingExecutor.java [327:342]
public void run() {
// Wait for parent to exit.
try {
while (true) {
int c = System.in.read();
if (c == -1) {
break;
}
}
} catch (IOException e) {
log.error("watchdog failed", e);
}
log.debug("child process exiting");
// Exit with non-zero status code to skip shutdown hooks
System.exit(-1);
}