parameters: (self, cmdv)
return_statement: return self.exec_cmdv([self.path_module.join('.', hi)] + cmdv[1:-1])
docstring: For remote hosts the binary is fist copied over using sftp.
docstring_summary: For remote hosts the binary is fist copied over using sftp.
docstring_tokens: For remote hosts the binary is fist copied over using sftp .
function: def _exec_pkg_cmdv(self, cmdv):
          """For remote hosts the binary is fist copied over using sftp."""
          _logger.debug("%s", str(self.sftp.listdir()))
          hi = os.path.basename(cmdv[0])
          self.sftp.put(cmdv[0], hi)
          self.sftp.chmod(hi, stat.S_IRWXU)
          return self.exec_cmdv([self.path_module.join('.', hi)] + cmdv[1:-1])
function_tokens: def _exec_pkg_cmdv ( self , cmdv ) : _logger . debug ( "%s" , str ( self . sftp . listdir ( ) ) ) hi = os . path . basename ( cmdv [ 0 ] ) self . sftp . put ( cmdv [ 0 ] , hi ) self . sftp . chmod ( hi , stat . S_IRWXU ) return self . exec_cmdv ( [ self . path_module . join ( '.' , hi ) ] + cmdv [ 1 : - 1 ] )