title: Sending the return key to an emulated console application
body: <p>I'm using delphi to add an graphical interface to a console application.
  The problem is when the console application asks for input.
  I would normally type in my input and press enter to make it accept my string, but I don't know how to do this.</p>
  
  <p>I'm using this library as a "wrapper" over the console application, it uses pipes for the input and output streams.
  <a href="http://koders.com/delphi/fidDB05C6361540F62D532FC7C960D4111CE3AAEDB3.aspx?s=proxy" rel="nofollow noreferrer">http://koders.com/delphi/fidDB05C6361540F62D532FC7C960D4111CE3AAEDB3.aspx?s=proxy</a></p>
  
  <p>I've tried things like WriteToConsoleApp(#04); to send an EOT, which is Control-D. This would normally work but in this case it doesn't do anything.
  I've also tried WriteToConsoleApp(#13); WriteToConsoleApp(#13#10);, but none of these solutions work.</p>
  
  <p>If you have any advice I would be grateful.</p>