Wrote exactly `EXIT_SUCCESS` to `result.txt`.