subprocess.killed


  • 类型:<boolean> 在成功向子进程发送信号后使用 subprocess.kill() 设置为 true

subprocess.killed 属性表示子进程是否成功接收到来自 subprocess.kill() 的信号。killed 属性并不表示子进程已经被终止。

【The subprocess.killed property indicates whether the child process successfully received a signal from subprocess.kill(). The killed property does not indicate that the child process has been terminated.】