mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Return stdout in log_check_call
This commit is contained in:
parent
b3311a8ff6
commit
135ebfbb95
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ def log_check_call(command):
|
||||||
if status != 0:
|
if status != 0:
|
||||||
from subprocess import CalledProcessError
|
from subprocess import CalledProcessError
|
||||||
raise CalledProcessError(status, ' '.join(command), '\n'.join(stderr))
|
raise CalledProcessError(status, ' '.join(command), '\n'.join(stderr))
|
||||||
|
return stdout
|
||||||
|
|
||||||
|
|
||||||
def log_call(command):
|
def log_call(command):
|
||||||
|
|
Loading…
Add table
Reference in a new issue