subprocess.connected


  • <boolean> 调用 subprocess.disconnect() 后设置为 false

    ¥<boolean> Set to false after subprocess.disconnect() is called.

subprocess.connected 属性指示是否仍然可以从子进程发送和接收消息。当 subprocess.connectedfalse 时,将无法再发送或接收消息。

¥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.