Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2620

Process.consumeProcessXXX methods do not handle newline properly.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5.4
    • 1.5.5, 1.6-beta-1
    • None
    • None

    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

        1. ProcessOutputTest.groovy
          2 kB
          Hans Dockter

        Issue Links

          Activity

            People

              paulk Paul King
              hans_d Hans Dockter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: