---
title: "python signal.SIGKILL"
author: "MaxOmnis"
date: "2014-08-27T14:34:55Z"
tags: []
categories: ["编程语言"]
slug: "python-signal-sigkill"
draft: false
lastmod: "2014-08-27T14:34:55Z"
id: 2109551
url: "https://maxomnis.iteye.com/blog/2109551"
---

signal.signal(signal.SIGKILL,self.stopsignal) 

RuntimeError: (22, 'Invalid argument')

 

 

 signal.SIGKILL  信号，就是kill -9 信号，这个系统是捕获不了的,强制终止进程，所以这里注册信号是错误的.