This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Groovy and the fly likes Process.consumeProcessOutput() rewrite in core Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Process.consumeProcessOutput() rewrite in core Java" Watch "Process.consumeProcessOutput() rewrite in core Java" New topic
Author

Process.consumeProcessOutput() rewrite in core Java

Benson Fung
Ranch Hand

Joined: Apr 10, 2003
Posts: 207
Hi,

I need to transform a groovy program in a core java program. However, there is a line in the groovy program as below:


process.consumeProcessOutput() //where process object was created in the above of the groovy script command execution.

Now I need to transform consumeProcessOutput() into core java of Process class. Can anyone suggest couple lines of code to replace consuleProcessOutput()?


thanks for help
Benson
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Process.consumeProcessOutput() rewrite in core Java
 
Similar Threads
groovy on android?
Calling java program from groovy...
Is JDBC faster than JPA?
Migrating data from XML file to Sybase tables
how to call applet from a core java program?