parameters: (self, path)
return_statement: return proc.returncode, out, err
docstring: Executes the given path and returns return code and output
docstring_summary: Executes the given path and returns return code and output
docstring_tokens: Executes the given path and returns return code and output
function: def _execute(self, path):
          """ Executes the given path and returns return code and output """
          try:
              proc = subprocess.Popen(path, stderr=subprocess.PIPE,
                                      stdout=subprocess.PIPE)
              out, err = proc.communicate()
          except OSError:
              self._log.warning('Executing %s failed', path, exc_info=True)
              return -1, '', ''
          return proc.returncode, out, err
function_tokens: def _execute ( self , path ) : try : proc = subprocess . Popen ( path , stderr = subprocess . PIPE , stdout = subprocess . PIPE ) out , err = proc . communicate ( ) except OSError : self . _log . warning ( 'Executing %s failed' , path , exc_info = True ) return - 1 , '' , '' return proc . returncode , out , err