feat: add version task
This commit is contained in:
@@ -49,10 +49,11 @@ class CommandExecutor:
|
||||
err_logger = CommandLogger(logging.TRACE)
|
||||
try:
|
||||
result = subprocess.run(
|
||||
self._command.split(" "),
|
||||
self._command,
|
||||
cwd=basepath,
|
||||
stdout=out_logger, # type: ignore
|
||||
stderr=err_logger, # type: ignore
|
||||
shell=True,
|
||||
)
|
||||
finally:
|
||||
out_logger.close()
|
||||
|
||||
Reference in New Issue
Block a user