You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2019/08/10 13:18:23 UTC
[GitHub] [commons-exec] leonwang1818 commented on issue #4: Get the
exitValue of the process.
leonwang1818 commented on issue #4: Get the exitValue of the process.
URL: https://github.com/apache/commons-exec/pull/4#issuecomment-520148394
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.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services