exC: make script executable

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-08-30 09:24:04 +03:00
parent 12e1c98f6f
commit f2e462842e

10
exercises/exerciseC/run_with_all_configurations.sh Normal file → Executable file
View file

@ -1,9 +1,13 @@
# This is bash
# It runs the python script multiple times with different arguments
#!/bin/bash
set -ex
# This is a bash script.
# It runs the python program multiple times with different arguments.
for i in {1..5} # Number of processes
do
for j in {1..5} # Number of threads
do
python process_images.py $i $j images/*
done
done
done