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.