[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Created: (EXEC-33) PumpStreamHandler hangs if System.in is
From:       "Marco Ferrante (JIRA)" <jira () apache ! org>
Date:       2008-12-31 14:16:44
Message-ID: 1456399593.1230733004748.JavaMail.jira () brutus
[Download RAW message or body]

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
            Priority: Minor


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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic