subprocess.channel.ref()


如果之前调用过 .unref(),此方法使 IPC 通道保持父进程的事件循环运行。

¥This method makes the IPC channel keep the event loop of the parent process running if .unref() has been called before.