commons-exec icon indicating copy to clipboard operation
commons-exec copied to clipboard

Get the exitValue of the process.

Open leonwang1818 opened this issue 5 years ago • 1 comments

leonwang1818 avatar Aug 10 '19 13:08 leonwang1818

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 avatar Aug 10 '19 13:08 leonwang1818

@leonwang1818 TY. Closing: Already done.

garydgregory avatar Dec 13 '23 13:12 garydgregory