C_CPP/03_FLOW_b/run.sh

10 lines
108 B
Bash

#!/bin/bash
./controlFlowIntr &
echo $!
sleep 1
kill -SIGUSR1 $!
sleep 1
kill -SIGUSR1 $!
kill -SIGUSR1 $!