-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
-
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.
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.