This commit is contained in:
Andras Schmelczer 2025-03-16 15:46:02 +00:00
parent 9f09b07de9
commit 99608b55cd
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
5 changed files with 17 additions and 17 deletions

View file

@ -12,14 +12,14 @@ fi
# Get the number of processes from the first argument
process_count=$1
mkdir -p logs
cd frontend
npm run build
mkdir -p logs
pids=()
for i in $(seq 1 $process_count); do
node test-client/dist/cli.js > "logs/log_${i}.log" 2>&1 &
node test-client/dist/cli.js > "../logs/log_${i}.log" 2>&1 &
pids+=($!)
done