--- Jeffrey E Care <[EMAIL PROTECTED]> wrote: > Is there a way to tell redirector to not pump stdin > to a forked process? >
Hi Jeff--I think you should be able to do: <redirector inputstring="" ... /> or, fancier: <condition property="dev.null" value="/dev/null"> <os family="unix" /> </condition> <condition property="dev.null" value="NUL"> <os family="windows" /> </condition> <redirector input="${dev.null}" ... /> Would any of this help? -Matt > In the WAS build we have to fork quite a few times > (either with <java > fork="true"> or with <exec>); these forked processes > do not expect any > input on their stdin, but I couldn't find a way to > tell redirector to not > pump Ant's stdin to the forked processes. I took a > thread dump and noticed > that we have a ton of threads that are blocked in > StreamPumper.run, > presumably waiting to read input that isn't coming. > > I've been able to hack a solution, but is there any > official way of doing > this? > > ____________________________________________________________________________________________ > > > Jeffrey E. (Jeff) Care > [EMAIL PROTECTED] > IBM WebSphere Application Server > WAS Release Engineering > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]