pr.peekExitCode indeed returns the correct exit code (if not killed by signal).
Then maybe i could even go without restarting the application.
pr.peekExitCode indeed returns the correct exit code (if not killed by signal).
Then maybe i could even go without restarting the application.