We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@classmethod def sudo_run_cmd(cls, command, interrupt=True, timeout=25, out_debug_flag=True, command_log=True, password=None): if password is None: password = conf.PASSWORD cls.run_cmd( f"echo '{password}' | sudo -S {command}", interrupt=interrupt, timeout=timeout, out_debug_flag=out_debug_flag, command_log=command_log )
The text was updated successfully, but these errors were encountered:
没有return,是个Bug,下个版本修复😍
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: