$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 $COPROC – try it now!
© 2020–2022 Joachim Ansorg
Imprint
Privacy Policy
Legal