wildfly / wildfly-plugin-tools

A group of tools for interacting/managing with a WildFly container
Apache License 2.0
0 stars 2 forks source link

Add an option to get the exit code of the process if available #61

Open jamezp opened 3 months ago

jamezp commented 3 months ago

Create a method on the ServerManager to retrieve the exit code from the process if it has exited. If the ProcessHandle is a Process, the exitValue() can be retrieved. Otherwise we should always return a known value to match an unknown value.