Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261570

Using Selectors with java.lang.Process's input, output and error streams.

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      This featrue requests proposes to make Process and ProcessBuilder to work with java.nio.Channels.

      To not block a process started with ProcessBuilder one currently has to either write a busy loop checking the status of the streams or spawn threads to block on the process's streams. If Process/ProcessBuilder would allow to configure java.nio.channels.Pipe to be used as channels the input and output to the process would become selectable and could easily be handled from a central polling logic.



            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: