David Daney writes: > David Daney wrote: > > > I take it back. But, what about any data in the pipes that is unread > when you do waitFor()? It will now be lost. That's a reasonable point. I'm not sure it's a valid thing to do, though. Maybe we need to close the underlying file handle instead. Andrew.