https://bz.apache.org/bugzilla/show_bug.cgi?id=58376
Bug ID: 58376
Summary: On windows when using headfilter with exec, ant hangs.
Product: Ant
Version: 1.9.4
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
Assignee: [email protected]
Reporter: [email protected]
I run some external process which occasionally prints a lot to the stdout.
In order to avoid to generate huge build output files, I wanted to limit the
output which gets generated to some maximum. However when trying this, the
executed process hangs, never terminates.
Without the headfilter (or with the headfilter and lines="-1") the execution
terminates quickly.
<target name="t">
<echo message="starting cmd.exe" />
<exec executable="cmd.exe">
<arg value="/c"/>
<arg value="type"/>
<arg value="build.xml"/>
<redirector>
<outputfilterchain>
<headfilter lines="-1"/>
</outputfilterchain>
</redirector>
</exec>
<echo message="bug: never get here" />
</target>
This is on Windows 10 (not sure it matters)
--
You are receiving this mail because:
You are the assignee for the bug.