commons-exec
commons-exec copied to clipboard
EXEC-112
This PR addresses EXEC-112 by adding a "charset" variable to the LogOutputStream class, and providing an overloaded constructor to allow a user to set it. If this is set, when calling processBuffer, the buffer.toString calls uses the overload with a charset name specified. Existing behaviour with the original constructor is maintained.
The first commit adds a unit test that fails when running "mvn verify" from the command line on Windows so that the issue can be verified, this test is removed in a subsequent commit.