subprocess.connected
- <boolean> 调用
subprocess.disconnect()
后设置为false
。
subprocess.connected
属性指示是否仍然可以从子进程发送和接收消息。
当 subprocess.connected
为 false
时,不再可能发送或接收消息。
- <boolean> Set to
false
aftersubprocess.disconnect()
is called.
The subprocess.connected
property indicates whether it is still possible to
send and receive messages from a child process. When subprocess.connected
is
false
, it is no longer possible to send or receive messages.