synchroniser : update_links : use run instead of Popen

using Popen causes the command to return before making the connection so
the closing of the master connection (in runners) happens before we had
time to log into the server forcing us to complete an extra login step.
This commit is contained in:
2026-01-23 17:33:41 +01:00
parent fd825f7e87
commit dd042910a9

View File

@@ -270,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.")