[ https://issues.apache.org/jira/browse/EXEC-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743778#comment-17743778 ]
Gary D. Gregory commented on EXEC-105: -------------------------------------- [~b.eckenfels] OK to resolve this issue now? > 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 (v8.20.10#820010)