You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2015/09/12 04:35:24 UTC
[Bug 58376] New: On windows when using headfilter with exec, ant
hangs.
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: notifications@ant.apache.org
Reporter: daniel.friederich@freescale.com
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.
[Bug 58376] On windows when using headfilter with exec, ant hangs.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58376
Daniel Friederich <da...@freescale.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Daniel Friederich <da...@freescale.com> ---
To reproduce the bug, use
<headfilter lines="10"/>
(and not -1, with -1 it ends quickly)
--
You are receiving this mail because:
You are the assignee for the bug.