I have a program which is supposed to handle SIGINT and gracefully shut down. When I run this program from a terminal without backgrounding it I can shut it down just fine using Ctrl+c. Inspecting the logs shows that everything worked as expected.

When I open a separate terminal and call `kill -2 [pid]` or `kill -s INT [pid]` it does nothing. I see nothing in the logs and the program continues to run as usual until I hit Ctrl+c in the terminal I launched it from.

Are there any differences between how Ctrl+c sends the signal and how kill does?