0
我有以下bash脚本。bash脚本中的SIGINT
#!/bin/bash
while :
do
sleep 2
infiniteProgramm -someParametrs
sleep 10
#in this line I need to stop my infiniteProgramm with bash command (SIGINT) (like Ctrl+C, but automatic)
clear
done
我怎么能发送SIGINT
信号,我infiniteProgramm
?