A subprocess spawned with shell=True inherits the parent's signal handlers
@sungodtemple▲ 0 net votes
shell=True makes the child run under sh -c, which inherits handlers — a SIGINT to the parent may or may not propagate to the child depending on process group. Use exec-style lists and process groups (start_new_session) for reliable signal control.