title: Show EXECUTE_PROCESS output for commands like dir or echo on stdout
body: <p>I would like to directly see the output of a command started by the <code>EXECUTE_PROCESS</code> command on stdout while the program is running. </p>
  
  <p>I have the following test CMakeLists.txt file</p>
  
  <pre><code>PROJECT(TEST)
  cmake_minimum_required(VERSION 2.8)
  
  EXECUTE_PROCESS(COMMAND dir)
  </code></pre>
  
  <p>When run from the commandline it produces this</p>
  
  <pre><code>D:\tmp\testCMake\_build&gt;"c:\Program Files (x86)\CMake 2.8\bin\cmake.exe" .
  -- Configuring done
  -- Generating done
  -- Build files have been written to: D:/tmp/testCMake/_build
  </code></pre>
  
  <p>I would like to see the output from <code>dir</code> directly on the console.</p>
  
  <p>I know I can capture the output using the <code>OUTPUT_VARIABLE</code> and <code>ERROR_VARIABLE</code> arguments. But, that provides the result at the end of the command run.</p>
  
  <p>According to the documentation the output should normally be passed through</p>
  
  <blockquote>
    <p>If no OUTPUT_* or ERROR_* options are
    given the output will be shared with
    the corresponding pipes of the CMake
    process itself.</p>
  </blockquote>
  
  <p>I am using CMake 2.8.3 on Windows Vista</p>