You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MSHARED-1072] executeCommandLineAsCallable hangs forever if InputStream is used #313
When we use method executeCommandLineAsCallable and provide InputSteam as systemIn, after process is finished method wait forever until InputStream will be closed.
When we provide System.in as parameter InputStream will be not closed until process finished.
Affects: maven-shared-utils-3.4.1
Issue Links:
MRELEASE-1114 Broken interaction of maven-gpg-plugin with Gpg4win Kleopatra since 3.0.0-M6
("blocks")
MRELEASE-1091 Use non-interactive (batch) mode for forked Maven process
Activity
jira-importer commentedon May 5, 2023
Slawomir Jaranowski commented
System.in.read- is not unblocked during thread interrupt :)jira-importer commentedon May 5, 2023
Slawomir Jaranowski commented
We also can not close System.in ... because can be used for next action by caller.
So I see that unblocking reading from System.in will be the best.