Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.5.4
-
Fix Version/s: 1.5.5, 1.6-beta-1
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
New lines are suppressed when reading the output with the consumeXXX methods. This does not happen when I use the text properties. Unfortunately the text properties cause other problems (stall) on my machine (http://jira.codehaus.org/browse/GROOVY-2305). I think suppression of the new lines is a critical bug. In my case, I use the process output for the integration tests of my build tool.
Attachments
Issue Links
| This issue relates to: | ||||
| GROOVY-2758 | Provide better mechanisms to allow output and error streams from run process to be captured |
|
|
|
Yes, this is a bug and will be fixed for 1.5.5. A workaround is to use the outputstream version of the method instead of the stringbuffer or writer versions of the method.