aspose file tools*
The moose likes Groovy and the fly likes Process.consumeOutputProcess() Blocks? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Process.consumeOutputProcess() Blocks?" Watch "Process.consumeOutputProcess() Blocks?" New topic
Author

Process.consumeOutputProcess() Blocks?

Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

I'm using Groovy 1.6.3. From the GDK,

consumeProcessOutput(OutputStream output, OutputStream error)
Gets the output and error streams from a process and reads them to keep the process from blocking due to a full output buffer.


But then, when I execute this statement, it blocks.

Anyone has any idea how to solve this? Is this a bug in the consumeProcessOutput()?

SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Process.consumeOutputProcess() Blocks?