Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mikigo committed Nov 1, 2024
1 parent 88e2503 commit f34fc57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rtk/remote_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ def send_code_to_client(self, user, _ip, password):
:return:
"""
logger.info(f"发送代码到测试机 - < {user}@{_ip} >")
system(
f"{self.ssh % password} {user}@{_ip} "
f""""echo '{password}' | sudo -S rm -rf ~/Pipfile" {self.empty}"""
)
system(
f"{self.ssh % password} {user}@{_ip} "
f""""echo '{password}' | sudo -S rm -rf ~/{self.server_project_path}" {self.empty}"""
Expand Down

0 comments on commit f34fc57

Please sign in to comment.