MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / ExecSSHCommandRealTime

Method ExecSSHCommandRealTime

cli/pkg/common/sshremote.go:819–822  ·  view source on GitHub ↗

实时执行

(sshCommand string)

Source from the content-addressed store, hash-verified

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

Callers 7

stopRemoteFunction · 0.95
RemoveRemoteFunction · 0.95
InstallSmartideAgentFunction · 0.80
StartSmartideAgentFunction · 0.80

Calls 1

Tested by

no test coverage detected