title: Input to processes (batch files)
body: <p>I'm trying to make some kind of app, in C# Windows Forms Application (not console one, with tab pages, configuration, and console as a list box).</p>
  
  <p>My problem is, that when I am writing some kind of input (to the text box), nothing happens (I'm new to coding).</p>
  
  <p>My code:</p>
  
  <pre><code>Process process = new Process
              {
                  StartInfo =
                  {
                      FileName = textBox2.Text,
                      //Arguments = textBox3.Text,
                      UseShellExecute = false,
                      RedirectStandardOutput = true,
                      RedirectStandardInput = true,
                      CreateNoWindow = false,
                  }
              };
      server = process;
      process.Start();
      ...
  
  /* LATER */
  
  ...
  serverInput = process.StandardInput;
  ...
  serverInput.Write(textBoxInput.Text);
  </code></pre>
  
  <p><strong>UPDATE - SOLVED</strong>: code:</p>
  
  <pre><code>serverInput.WriteLine(...);
  </code></pre>