CS3413/Lab3/try-for-error.sh
2023-10-04 18:07:09 -03:00

9 lines
113 B
Bash

#!/bin/bash
cond=0
while [ $cond -eq 0 ]
do
./build/Lab3 10 10 &> output.txt
cond=$?
echo $cond
done