From 755e04fc6014187b0b2f0f06da5d67e2289e97c4 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 12 May 2023 10:53:34 +0200 Subject: [PATCH] Attendre les derniers processus --- bin/convertofut | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/convertofut b/bin/convertofut index 186c1fb..c9d3d75 100755 --- a/bin/convertofut +++ b/bin/convertofut @@ -44,3 +44,7 @@ for file in **/*".${format_in}"; do ffmpeg -i "$file" $options "${output_file}" & done +while [ "$(jobs -p)" ]; do + fg +done +