From 2ee1199571ca6b05048ac3fc44609329e4deec62 Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Fri, 16 Dec 2022 16:10:57 +0000 Subject: [PATCH] fixing command to copy to local server (again) --- coordinator/ProcessorServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coordinator/ProcessorServer.py b/coordinator/ProcessorServer.py index b3c42f2..a99e30b 100644 --- a/coordinator/ProcessorServer.py +++ b/coordinator/ProcessorServer.py @@ -124,7 +124,7 @@ def upload(config,FilesToSend,component): server_key = config['ServerKey'] if server_key == "": - ssh_cmd = ["mkdir", "-p", OutputServerPath] + ssh_cmd = f"mkdir -p {OutputServerPath}" run_in_shell: bool = True else: ssh_cmd = ["ssh", "-i", server_key, "-o", "StrictHostKeyChecking=no", config['ServerName'], -- GitLab