This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Getting/Sending input/output from terminal 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 » Java » JSF
Bookmark "Getting/Sending input/output from terminal" Watch "Getting/Sending input/output from terminal" New topic
Author

Getting/Sending input/output from terminal

Peter Medley
Greenhorn

Joined: Oct 04, 2011
Posts: 1
Here's the problem that I'm having. I'm using Netbeans 6.0 and my desktop app is running in Linux Centos 5. I need to use runtime and exec to execute a compile command (compile_cmd). This works fine except that after the compile has finished it asks for the user to hit enter to continue. When I run the command it of course hangs my app since it's waiting for the continue. Is there any way to see when the compile has finished and to send a cr to continue? Thanks for any help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting/Sending input/output from terminal
 
Similar Threads
standalone vs. net client clarification
Java cant find source file
making a .jar - error
First time user having issues with javac.exe
ide vs command line