[fix] lib:shell_command
This commit is contained in:
parent
d1fce3eb77
commit
f9eda6fd3f
|
|
@ -51,7 +51,8 @@ def env_get_language():
|
||||||
def shell_command(command):
|
def shell_command(command):
|
||||||
result = _subprocess.run(
|
result = _subprocess.run(
|
||||||
command,
|
command,
|
||||||
capture_output = True
|
capture_output = True,
|
||||||
|
shell = True,
|
||||||
)
|
)
|
||||||
return {
|
return {
|
||||||
"return_code": result.returncode,
|
"return_code": result.returncode,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue