title: ReadLine() Callback
body: <p>When a user types a command into my console, I need to send it to a Java process (Using StreamWriter) that I created. Is there any way to do a ReadLine sort of callback, so when a user types something in the console, I can read it, then pass it to my StreamWriter?</p>
  
  <p>Pseudo Code:</p>
  
  <pre><code>private void UserCommand(string text)
  {
      if(string.Equals(text, "save"))
      {
          inputWriter.WriteLine("/save-all");
      }
  }
  </code></pre>