MCPcopy Index your code
hub / github.com/SpaceNetLab/StarryNet / sn_remote_cmd

Function sn_remote_cmd

starrynet/sn_utils.py:181–184  ·  view source on GitHub ↗
(remote_ssh, cmd)

Source from the content-addressed store, hash-verified

179
180
181def sn_remote_cmd(remote_ssh, cmd):
182 stdin, stdout, stderr = remote_ssh.exec_command(cmd, get_pty=True)
183 lines = stdout.readlines()
184 return lines
185
186
187# A thread designed for initializing working directory.

Callers 15

get_IPMethod · 0.85
runMethod · 0.85
sn_get_container_infoFunction · 0.85
sn_reset_docker_envFunction · 0.85
sn_rename_all_containerFunction · 0.85
runMethod · 0.85
runMethod · 0.85
sn_check_utilityFunction · 0.85
sn_update_delayFunction · 0.85
sn_damageFunction · 0.85
sn_recoverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected