Why would I send SIGINT?
The probleems seems to me the program dies on a signal 6 when not executed from a commandline. This looks more like a check in the software to prevent just this or a undocumented feature.