parameters: (args, stderr=None)
return_statement: return subprocess.Popen(args, stdout=subprocess.PIPE,
                              stderr=stderr).communicate()[0]
docstring: Run a command and capture its output
docstring_summary: Run a command and capture its output
docstring_tokens: Run a command and capture its output
function: def check_output(args, stderr=None):
      '''Run a command and capture its output'''
      return subprocess.Popen(args, stdout=subprocess.PIPE,
                              stderr=stderr).communicate()[0]
function_tokens: def check_output ( args , stderr = None ) : return subprocess . Popen ( args , stdout = subprocess . PIPE , stderr = stderr ) . communicate ( ) [ 0 ]