Ivan Puntev created EXEC-105:
--------------------------------

             Summary: 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


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)

Reply via email to