$COPROC  –  Coprocess File Descriptors

$COPROC is the default variable name used by coproc to store file descriptors of a coprocess.

${COPROC[0]} is a file descriptor, which is connected to STDOUT of the executed command. ${COPROC[1]} is connected to STDIN of the executed command.

BashSupport Pro 是一个 支持 $COPROC 的 Bash 集成开发工具 – 马上试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款