实时执行
(sshCommand string)
| 817 | |
| 818 | // 实时执行 |
| 819 | func (instance *SSHRemote) ExecSSHCommandRealTime(sshCommand string) (err error) { |
| 820 | |
| 821 | return instance.ExecSSHCommandRealTimeFunc(sshCommand, nil) |
| 822 | } |
| 823 | |
| 824 | // 实时执行,带函数 |
| 825 | func (instance *SSHRemote) ExecSSHCommandRealTimeFunc(sshCommand string, customExecuteFun func(output string) error) (err error) { |
no test coverage detected