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

Process should have a method called closeStreams()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.6
    • 2.1.0-rc-1
    • groovy-jdk
    • None

    Description

      Java doesn't close streams until finalization which can result in too many open files errors sometimes. To avoid this problem, one needs to proactively close all the streams of a Process when it is finished. This currently requires 3 method calls so I propose a simple one be added to Process called closeStreams() instead.

      Attachments

        Activity

          People

            paulk Paul King
            balor123 Uri Moszkowicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: