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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26852

Exec task blocks when spawned

           Summary: Exec task blocks when spawned
           Product: Ant
           Version: 1.6.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When executing a command (with spawn="true") which prints a lot to stdout or
stderr, the command blocks. This happens due to the limited buffers of stdout
and stderr. Since those buffers are never emptied by the Exec task and since it
is not possible to redirect those streams, a command which uses stdout or stderr
will block sooner or later.

It would be nice if the Exec task could empty the stdout and stderr streams
constantly (in background, so that the task didn't block) until the spawned
process finished.

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

Reply via email to