subprocess.channel


  • <Object> 子进程的 IPC 通道的管道。

返回子进程的 IPC 通道的引用。 如果当前没有 IPC 通道,则返回 undefined

  • <Object> A pipe representing the IPC channel to the child process.

The subprocess.channel property is a reference to the child's IPC channel. If no IPC channel currently exists, this property is undefined.