[MSHARED-1072] Poll data from input stream by slawekjaranowski · Pull Request #140 · apache/maven-shared-utils (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Conversation
Input stream can be a System.in - all read will be blocked
We need read data in no blocking mode
Input stream can be a System.in - all read will be blocked We need read data in no blocking mode
Does this always apply? Are there cases were in the stream is not stdin?
Does this always apply? Are there cases were in the stream is not
stdin?
It will be safer to use non blocking io in such case.
Even when stream will be not System.in it will work.
We also can not close provided stream because can be used for multiple executing of invoker.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Labels
Something isn't working