# This example is bash or similar myprog & bpid=$! .... kill -KILL $bpid