commons-exec icon indicating copy to clipboard operation
commons-exec copied to clipboard

EXEC-112

Open jackdos opened this issue 4 years ago • 0 comments

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.

jackdos avatar Feb 27 '20 11:02 jackdos