You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Arnaud HERITIER (JIRA)" <ji...@apache.org> on 2009/09/17 09:51:57 UTC

[jira] Commented: (EXEC-33) PumpStreamHandler hangs if System.in is redirect to process input stream

    [ https://issues.apache.org/jira/browse/EXEC-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756404#action_12756404 ] 

Arnaud HERITIER commented on EXEC-33:
-------------------------------------

Hi, do you know when you'll fix this issue and when you'l release the 1.0.1 ?
It's really annoying to not being able to fix the issue we have in the Exec Mojo.
If it's too long, we'll have to see if we can use another library or if we fork yours.

> PumpStreamHandler hangs if System.in is redirect to process input stream
> ------------------------------------------------------------------------
>
>                 Key: EXEC-33
>                 URL: https://issues.apache.org/jira/browse/EXEC-33
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Windows Vista
>            Reporter: Marco Ferrante
>            Assignee: Siegfried Goeschl
>            Priority: Minor
>             Fix For: 1.0.1
>
>         Attachments: EXEC33.patch, PumpStreamHandler.patch
>
>
> When process input is redirected using a PumpStreamHandler, e.g.
>       PumpStreamHandler streamHanlder = new PumpStreamHandler(out, err, System.in); 
>       exec.setStreamHandler(streamHanlder);
>       MockExecuteResultHandler handler = new MockExecuteResultHandler();
>       exec.execute(cl, handler);
> the process hangs and never exit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.