[
https://issues.apache.org/jira/browse/EXEC-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bernd Eckenfels resolved EXEC-105.
----------------------------------
Fix Version/s: 1.4
Assignee: Gary D. Gregory
Resolution: Fixed
Remaining issues have been fixed (the other examples have not been reviewed)
> 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
> Assignee: Gary D. Gregory
> Priority: Trivial
> Fix For: 1.4
>
>
> 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
(v8.20.10#820010)