DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28135>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28135

<exec> task hangs Ant on some Windows configurations

           Summary: <exec> task hangs Ant on some Windows configurations
           Product: Ant
           Version: 1.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


On some Windows configuration running a Sun JVM (version of the JVM does not
matter), the <exec> will hang when the spawned process finishes.

The hanging occurs because the JVM does not close the underlying pipes that the
org.apache.tools.ant.taskdefs.PumpStreamHandler class reads from. As a result,
the PumpStreamHandler instances will be forever blocked in a read() call.

Attached is a patch to the PumpStreamHandler class that allows Ant to resume
operation after a reasonable period of time when this occurs.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to