Jump to content
  • Advertisement
Sign in to follow this  

Stream Redirection Question

This topic is 4840 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need a way to have a console app send input characters to a thread in order to shut it down (Pressing the Enter key shuts it down, but I need it to be automated). Basically, the problem is that we have a java app that doesn't have a built in schedular, and we need to be able to restart it at certain times, so I would imagine the easiest way would be to write a console app that starts up the java app, and safely shuts it down (by sending the Enter key to it's standard in). I have looked into Stream Redirection, but I can't seem to find an example or a function to use. I can use either C/C++ or Java. Please help! -Gordon

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!