Redirecting Standard input to a Console application

G

Givaataim

Hi,

I'm writing a short program with the Visual Studio 6.0 IDE.
I'm not using any MFC classes nor GUI - just created a fresh console app.

My app. uses the 'system' command to call for another application (some exe.
file).

The thing is that the developers of this .exe prompted a message like "Press
any key to continue..." which effectively means that my app. won't get back
control to execute other commands.

I've tried several methods for standard input redirection (using a batch
file, piping and such) - didn't work.

Anyone?
thanks,
Yaron.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top