CS3413/Lab3/try-for-error.sh

9 lines
113 B
Bash
Raw Normal View History

2023-10-04 18:07:09 -03:00
#!/bin/bash
cond=0
while [ $cond -eq 0 ]
do
./build/Lab3 10 10 &> output.txt
cond=$?
echo $cond
done