Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting/Sending input/output from terminal  RSS feed

Peter Medley
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!