Compare commits
2 Commits
c7f0a67f17
...
dd042910a9
| Author | SHA1 | Date | |
|---|---|---|---|
|
dd042910a9
|
|||
|
fd825f7e87
|
@@ -217,6 +217,7 @@ class Synchroniser:
|
||||
command.append(value)
|
||||
|
||||
sshargs = f"-p {self.remote_port} "
|
||||
sshargs += f"-S {self.control_path} "
|
||||
for arg, value in self.ssh_settings.items():
|
||||
sshargs += arg + " " + value + " "
|
||||
command.append("-sshargs")
|
||||
@@ -269,7 +270,7 @@ class Synchroniser:
|
||||
link_background_wrapper
|
||||
]
|
||||
|
||||
link_update_process = subprocess.Popen(command, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
link_update_process = subprocess.run(command, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
|
||||
if not background:
|
||||
print("Starting links update.")
|
||||
|
||||
Reference in New Issue
Block a user