Skip to content

Commit

Permalink
Add game exit error code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyker committed Aug 27, 2021
1 parent a2308a2 commit 9428fec
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ public void run() {
}
}

System.out.println("Process exited with error code " + process.getProcess().exitValue());

if (process.getExitListener() != null) {
process.getExitListener().onProcessExit();
}
Expand Down

0 comments on commit 9428fec

Please sign in to comment.