You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/02/16 15:38:00 UTC
[jira] [Commented] (EXEC-105) Small mistakes in the documentation
for Apache Commons Exec 1.3
[ https://issues.apache.org/jira/browse/EXEC-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367477#comment-16367477 ]
Gary Gregory commented on EXEC-105:
-----------------------------------
Hello [~IP]:
Thank you for your report.
We will gladly accept a PR on GitHub [https://github.com/apache/commons-exec] :)
Gary
> Small mistakes in the documentation for Apache Commons Exec 1.3
> ---------------------------------------------------------------
>
> Key: EXEC-105
> URL: https://issues.apache.org/jira/browse/EXEC-105
> Project: Commons Exec
> Issue Type: Wish
> Affects Versions: 1.3
> Reporter: Ivan Puntev
> Priority: Trivial
>
> I want to apologize if this issue is not correctly formatted, but I am new into the issue reporting.
> On this page on the bottom - [http://commons.apache.org/proper/commons-exec/tutorial.html]
> I found wrong code example in "Unblock Your Execution paragraph".
>
> The "cmdLine" variable later in code changes its name to "commandLine".
> At the end, this code line -> int exitValue = resultHandler.waitFor(); is wrong because the waitFor() method is void and doesn't return any value.
>
> In the examples above may also have mistakes but I haven't checked.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)