$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 is a Bash IDE with support for $COPROCtry it now!
© 2020–2024 Joachim Ansorg
Privacy Policy