You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2023/05/05 22:06:00 UTC
[jira] [Reopened] (MSHARED-1072) executeCommandLineAsCallable hangs forever if InputStream is used
[ https://issues.apache.org/jira/browse/MSHARED-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Slawomir Jaranowski reopened MSHARED-1072:
------------------------------------------
{{System.in.read}} - is not unblocked during thread interrupt :)
> executeCommandLineAsCallable hangs forever if InputStream is used
> -----------------------------------------------------------------
>
> Key: MSHARED-1072
> URL: https://issues.apache.org/jira/browse/MSHARED-1072
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-shared-utils
> Reporter: Slawomir Jaranowski
> Assignee: Slawomir Jaranowski
> Priority: Major
> Fix For: maven-shared-utils-3.4.0, maven-shared-utils-3.4.1
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)