diff --git a/scripts-new/bricks.sh b/scripts-new/bricks.sh index 1b5d6fc7d..dc100eac3 100644 --- a/scripts-new/bricks.sh +++ b/scripts-new/bricks.sh @@ -25,7 +25,9 @@ start_binaries() { # Loop to start binary the specified number of times for ((i=0; i "test.log" 2>&1 & + #nohup "$bin_full_path" -i "$i" -c "$OPENIM_OUTPUT_CONFIG" > "test.log" 2>&1 & + { nohup "$bin_full_path" -i "$i" -c "$OPENIM_OUTPUT_CONFIG" > >(tee test.log) 2> >(tee test.err >&2) & } + done done