Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

Re: Suppress redirector input stream?

Jeffrey E Care

2008-01-31

Replies: Find Java Web Hosting

Author LoginPost Reply
Matt Benson <gudnabrsam@(protected):

> Hi Jeff--I think you should be able to do:
>
> <redirector inputstring="" ... />

The empty string works & is cleaner than the hack I had come up with, so
thanks for that!

I'm still thinking that redirector should have an explicit flag that could
be used to signal that the forked process does not require a stdin pump;
after all, why create the thread to pump in a empty string when you know
that it's not going to be needed? Just my two cents anyway...

____________________________________________________________________________________________

Jeffrey E. (Jeff) Care
carej@(protected)
IBM WebSphere Application Server
WAS Release Engineering





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.