diff --git a/scripts/setup-seafile-mysql.py b/scripts/setup-seafile-mysql.py index 80b95ea..e5447cf 100644 --- a/scripts/setup-seafile-mysql.py +++ b/scripts/setup-seafile-mysql.py @@ -107,6 +107,10 @@ Press ENTER to continue shell=True) return proc.wait() + @staticmethod + def get_command_output(args, *a, **kw): + return subprocess.check_output(args, *a, **kw) + @staticmethod def prepend_env_value(name, value, env=None, seperator=':'): '''prepend a new value to a list'''