subprocess.killed
-
<boolean>
subprocess.kill()
用于成功向子进程发送信号后设置为true
。¥<boolean> Set to
true
aftersubprocess.kill()
is used to successfully send a signal to the child process.
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.