$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.
Links
BashSupport Pro ist eine Bash IDE mit Unterstützung für $COPROC – probieren Sie es aus!