title: subprocess check_output getting standard output: Broken pipe warning message
body: <p>I have below command which executes Just fine when I am trying in Linux SuSE OS(I mean any warnings):</p>
  
  <pre><code>   supportconfig -R /tmp
  </code></pre>
  
  <p>Same command I used in python using subprocess check_output</p>
  
  <p>Code:</p>
  
  <pre><code>import os
  import sys
  from subprocess import check_output
  b = check_output(["supportconfig", "-R", "/tmp"])
  </code></pre>
  
  <p>Warning Output:</p>
  
  <pre><code>sort: write error
  sort: write failed: standard output: Broken pipe
  sort: write error
  grep: write error
  </code></pre>
  
  <p>Same code will be used for reproduce issue in Open SuSE or SLES OS.</p>