示例#1
0
文件: core.py 项目: tav/bolt-python
def builtin_sudo(spec, arg):
    """run the sudoed command on remote hosts"""

    return sudo(
        arg, spec.shell, spec.pty, spec.combine_stderr, None, spec.dir,
        spec.format
        )
示例#2
0
文件: core.py 项目: tav/bolt-python
 def run_sudo():
     return sudo(
         arg, spec.shell, spec.pty, spec.combine_stderr, None, spec.dir,
         spec.format
         )
示例#3
0
文件: core.py 项目: tav/bolt-python
 def run_sudo():
     return sudo(
         command, shell, pty, combine_stderr, user, dir, format
         )