title: Can I send some text to the STDIN of an active process under Windows?
body: <p>I searched the web for that question and landed on Server Fault:</p>
  
  <p><strong><a href="https://serverfault.com/questions/178457/can-i-send-some-text-to-the-stdin-of-an-active-process-running-in-a-screen-sessi">Can I send some text to the STDIN of an active process running in a screen session?</a></strong></p>
  
  <p>Seems like it is ridiculously easy to achieve this under Linux. But I need it for a Win32 Command Prompt.</p>
  
  <p>Background: I have an application that polls STDIN and if I press the <kbd>x</kbd> key, the application terminates. Now, I want to do some automated testing, test the application and then shut it down. </p>
  
  <p><strong>Note</strong>: Just killing the process is not an option since I'm currently investigating problems that arise during the shutdown of my application.</p>