becky_cli/becky/providers/s3_provider.py
def _run_command(self, commands):
        """
        Given the command to run, runs it on the command line through s3cmd to the configured bucket.
        Returns whatever the command returns.
        """
        access_key = self._get_parameter('access_key')
        secret_key = self._get_parameter('secret_key')
        host = self._get_parameter('host')
        host_bucket = self._get_parameter('host_bucket')
        result = subprocess.run(['s3cmd'] + commands + ['--access_key', access_key, '--secret_key', secret_key, '--host', host, '--host-bucket', host_bucket], stdout=subprocess.PIPE)
        stdout = result.stdout.decode() if result.stdout else None
        stderr = result.stderr.decode() if result.stderr else None
        return stdout, stderr

        Given the command to run, runs it on the command line through s3cmd to the configured bucket.
        Returns whatever the command returns.
        
Given the command to run, runs it on the command line through s3cmd to the configured bucket.
Returns whatever the command returns.
Given the command to run runs it on the command line through s3cmd to the configured bucket . Returns whatever the command returns .
def _run_command(self, commands):
        access_key = self._get_parameter('access_key')
        secret_key = self._get_parameter('secret_key')
        host = self._get_parameter('host')
        host_bucket = self._get_parameter('host_bucket')
        result = subprocess.run(['s3cmd'] + commands + ['--access_key', access_key, '--secret_key', secret_key, '--host', host, '--host-bucket', host_bucket], stdout=subprocess.PIPE)
        stdout = result.stdout.decode() if result.stdout else None
        stderr = result.stderr.decode() if result.stderr else None
        return stdout, stderr
def _run_command ( self , commands ) : access_key = self . _get_parameter ( 'access_key' ) secret_key = self . _get_parameter ( 'secret_key' ) host = self . _get_parameter ( 'host' ) host_bucket = self . _get_parameter ( 'host_bucket' ) result = subprocess . run ( [ 's3cmd' ] + commands + [ '--access_key' , access_key , '--secret_key' , secret_key , '--host' , host , '--host-bucket' , host_bucket ] , stdout = subprocess . PIPE ) stdout = result . stdout . decode ( ) if result . stdout else None stderr = result . stderr . decode ( ) if result . stderr else None return stdout , stderr
Given the command to run, runs it on the command line through s3cmd to the configured bucket.
Given the command to run runs it on the command line through s3cmd to the configured bucket .
"""
        Given the command to run, runs it on the command line through s3cmd to the configured bucket.
        Returns whatever the command returns.
        """
self
commands