Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 75459 invoked from network); 17 Feb 2009 23:37:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Feb 2009 23:37:28 -0000 Received: (qmail 72600 invoked by uid 500); 17 Feb 2009 23:37:27 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 72521 invoked by uid 500); 17 Feb 2009 23:37:26 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 72506 invoked by uid 99); 17 Feb 2009 23:37:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 15:37:26 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 23:37:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8ABC0234C498 for ; Tue, 17 Feb 2009 15:36:59 -0800 (PST) Message-ID: <394779472.1234913819567.JavaMail.jira@brutus> Date: Tue, 17 Feb 2009 15:36:59 -0800 (PST) From: "Siegfried Goeschl (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (EXEC-33) PumpStreamHandler hangs if System.in is redirect to process input stream In-Reply-To: <1456399593.1230733004748.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/EXEC-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674395#action_12674395 ] Siegfried Goeschl commented on EXEC-33: --------------------------------------- Fixing this correctly on all platforms does not look easy so I will look at it after the first release. > 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.0 > Environment: Windows Vista > Reporter: Marco Ferrante > Assignee: Siegfried Goeschl > Priority: Minor > Attachments: 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.