def _execute(self,
                 command,        # type: str
                 args,           # type: List[str]
                 env_vars=None,  # type: EnvVars
                 shim=None       # type: OptStr
                 ):
        # type: (...) -> Tuple[int, bytes, bytes]
        """Execute a pip command with the given arguments."""
        main_args = [command] + args
        logger.debug("calling pip %s", ' '.join(main_args))
        rc, out, err = self._wrapped_pip.main(main_args, env_vars=env_vars,
                                              shim=shim)
        return rc, out, err
def _execute ( self , command , args , env_vars = None , shim = None ) : main_args = [ command ] + args logger . debug ( "calling pip %s" , ' ' . join ( main_args ) ) rc , out , err = self . _wrapped_pip . main ( main_args , env_vars = env_vars , shim = shim ) return rc , out , err
Execute a pip command with the given arguments.