From aa516f1684bd28096e87697b7ea383013b53c759 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Tue, 2 Apr 2024 15:25:11 +0800 Subject: [PATCH] Script Refactoring --- scripts-new/bricks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts-new/bricks.sh b/scripts-new/bricks.sh index dc100eac3..b3ffb10b6 100644 --- a/scripts-new/bricks.sh +++ b/scripts-new/bricks.sh @@ -26,7 +26,7 @@ start_binaries() { for ((i=0; i "test.log" 2>&1 & - { nohup "$bin_full_path" -i "$i" -c "$OPENIM_OUTPUT_CONFIG" > >(tee test.log) 2> >(tee test.err >&2) & } + nohup sh -c '"$bin_full_path" -i "$i" -c "$OPENIM_OUTPUT_CONFIG" 2>&1 | tee test.log' & done