diff --git a/src/unisync/synchroniser.py b/src/unisync/synchroniser.py index e75ec46..0f17503 100644 --- a/src/unisync/synchroniser.py +++ b/src/unisync/synchroniser.py @@ -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.")