The subprocess.signalCode property indicates the signal received by the child process if any, else null.
subprocess.signalCode
null