parameters: (*popenargs, **kwargs)
return_statement: return 0
docstring: Run command with arguments.  Wait for command to complete.  If
      the exit code was zero then return, otherwise raise
      CalledProcessError.  The CalledProcessError object will have the
      return code in the returncode attribute.
  
      The arguments are the same as for the call function.  Example:
  
      check_call(["ls", "-l"])
docstring_summary: Run command with arguments.  Wait for command to complete.  If
      the exit code was zero then return, otherwise raise
      CalledProcessError.  The CalledProcessError object will have the
      return code in the returncode attribute.
docstring_tokens: Run command with arguments . Wait for command to complete . If the exit code was zero then return otherwise raise CalledProcessError . The CalledProcessError object will have the return code in the returncode attribute .
function: def check_call(*popenargs, **kwargs):
      """Run command with arguments.  Wait for command to complete.  If
      the exit code was zero then return, otherwise raise
      CalledProcessError.  The CalledProcessError object will have the
      return code in the returncode attribute.
  
      The arguments are the same as for the call function.  Example:
  
      check_call(["ls", "-l"])
      """
      retcode = call(*popenargs, **kwargs)
      if retcode:
          cmd = kwargs.get("args")
          if cmd is None:
              cmd = popenargs[0]
          raise CalledProcessError(retcode, cmd)
      return 0
function_tokens: def check_call ( * popenargs , * * kwargs ) : retcode = call ( * popenargs , * * kwargs ) if retcode : cmd = kwargs . get ( "args" ) if cmd is None : cmd = popenargs [ 0 ] raise CalledProcessError ( retcode , cmd ) return 0