${program} > ${output} & pid=$! sleep 2 ./sigint $pid wait