chi

chi

  • NA
  • 10
  • 0

running external console app. which requires input

Jul 26 2004 6:28 PM
hi, I hope someone can help me out here.... I am running a windows console application from within a windows form. The only thing is that once the program is run it requires additional input. I know how the actual running of the application is done i.e. System.Diagnostics.Process etc. for example, if the console application I want to run is called echoMyInput.exe (which takes in my input and after a carriage return, outputs it) then... if echoMyInput.exe is run from within the windows form, the console is waiting for my user input+CR before it can continue. My question: is there a way to pass input to the console application while it is running OR would calling echoMuInput.exe from within a batch file be of any advantage? thanks all in advance for any info... mausy

Answers (3)