+−#!/bin/bash +− +−for i in {1..1000}; +−do +− ./client & +− if [ $? == 0 ]; then +− printf "Starting process\n"; +− fi +−done; +−