title: Pipe between two console applications?
body: <p>How can I pipe between two separate console application running in different console windows?</p>
  
  <p>e.g. I would like to do something similar to:</p>
  
  <pre><code>ffmpeg -i 0.flv -vcodec mpeg4 -f asf -s cif - | vlc -
  </code></pre>
  
  <p>However, I would like to do this from two separate windows, which doesn't work, I guess this is because standard out is local to cmd windows.</p>
  
  <p>cmd window 1:</p>
  
  <pre><code>ffmpeg -i 0.flv -vcodec mpeg4 -f asf -s cif -
  </code></pre>
  
  <p>cmd window 2:</p>
  
  <pre><code>vlc -
  </code></pre>
  
  <p>Is there any way to programmatically achieve this? What exactly does <code>|</code> do behind the scenes?</p>