File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Groovy and the fly likes Piped Streams ( pipedinputstream and pipedoutputstream ) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Groovy
Reply locked New topic

Piped Streams ( pipedinputstream and pipedoutputstream )

arun sharan

Joined: Jun 06, 2006
Posts: 4

Could someone tell me why the pipe seems to close just after one call to write ?
I am using this along with Apache Commons exec, if you are interested in knowing why.

Henry Wong

Joined: Sep 28, 2004
Posts: 18534

This is the Java I/O forum. It may be a good idea to ask this question in another forum -- maybe a forum for groovy?

Anyway... moving this to the groovy forum.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

Looks like a duplicate post.

Please do not duplicate post, just one forum one post. Thanks for understanding.

Closing this thread.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Piped Streams ( pipedinputstream and pipedoutputstream )
Similar Threads
Apache Commons Exec Piping to Input Stream using PipedInputStream
Question about PipedOUtputStream / PipedInputStream
End a child thread when parent thread dies
Check out this I/O Ques
Why don't write array of characters in a BufferedOutputStream using Piped?