I wonder is there anyway for me to stimulate the action of Ctrl+C to terminate the server in Raspberry Pi?
I understand that we can execute the server initially in Daemon using :
sudo ./vhusbdarm -b
and terminate it by using :
sudo kill -9 $(pidof ./vhusbdarm)
but this will cause the lost of my /dev/video0 driver in my Raspberry Pi. (As Ctrl+C will not cause this issue)
Looking for alternative way to do so.
.
Don't use the -9 argument
K the Kelvin
Yes. I execute with kill -15, I works now.