commons-exec
commons-exec copied to clipboard
Get the exitValue of the process.
the code "int exitValue = resultHandler.waitFor();" has a mistake. because with the api definition, the method of "waitFor()" have the "void" return type, maybe you want to invoke "getExitValue()" which will return int type.
@leonwang1818 TY. Closing: Already done.