111
115
(environment.environment, '--force', '-y'),
112
116
environment.needs_sudo(), check=False)
114
def get_juju_output(self, environment, command, *args):
115
args = self._full_args(environment, command, False, args)
118
def get_juju_output(self, environment, command, *args, **kwargs):
119
args = self._full_args(environment, command, False, args,
116
121
with tempfile.TemporaryFile() as stderr:
118
123
return subprocess.check_output(args, stderr=stderr)