title: On Linux, Debugging a C++ application with gdb in Eclipse CDT, how to input something to stdin?
body: <p>On Linux, I am trying to debug a C++ application with gdb in Eclipse CDT.</p>
  
  <p>For example the application <code>applic.exe</code> takes some command line arguments <code>arg1</code> and <code>arg2</code> and it expects some data on <code>stdin</code> (say, taken from a file <code>input.txt</code>).</p>
  
  <p>Normally, to run the application in the console I would do this:</p>
  
  <pre><code>cat input.txt | applic.exe arg1 arg2
  </code></pre>
  
  <p>Using gdb in the console I can do:</p>
  
  <pre><code>gdb applic.exe
  (gdb) run applic.exe arg1 arg2 &lt; input.txt
  </code></pre>
  
  <p>Is it possible to do that with gdb in Eclipse? I know how to specify the arguments (and the environment) in the Eclipse <i>Debug Configurations</i>, but what about <code>stdin</code>?</p>