title: How to capture stdout of an ST3 build?
body: <p>My general question is that, at least for debugging a build file, I would like to see an exact version of the command that is executed. I will give an example below. I would also like to see the output of that execution that gets sent to STDOUT, since ST only captures the output to STDERR.</p>
  
  <p>Here is an example of why I might want this.</p>
  
  <p>I have created the build file sql.sublime_build and saved it in the Sublime Packages Directory.</p>
  
  <blockquote>
    <p>{
       "cmd": ["psql", "-U", "tevs", "-d", "tevs", "-o", "psql_out.txt", "-f",      "$file"]
    }</p>
  </blockquote>
  
  <p>I have a pane in ST3 open to psql_out.txt so that I will see it reloaded if running build changes its contents.</p>
  
  <p>I have a file testbuild.sql that works if I run psql from the command line with input coming from it.</p>
  
  <p>When I have the ST3 tab open for testbuild.sql and press command-B, I see the ST3 footer line change to "building" for a few seconds, but there is no change in the output file and nothing appears in the bottom pane of the ST3 window that opens up when one types command-B.</p>
  
  <p>It would be very helpful just to see exactly how ST3 is invoking the command. </p>
  
  <p>I would prefer a solution that doesn't involve modifying Sublime Text itself.</p>
  
  <p>PS I have also tried the longer form</p>
  
  <blockquote>
    <p>{
      "cmd": ["psql", "-U", "tevs", "-d", "tevs", "-o", "/Users/Wes/Dropbox/Programming/ElectionTransparency/psql_out.txt", "-f", "$file"],
      "working_dir" : "/Users/Wes/Dropbox/Programming/ElectionTransparency"
    ?}</p>
  </blockquote>