Hello World

suggest change
# create the co-process
coproc bash

# send a command to it (echo a)
echo 'echo Hello World' >&"${COPROC[1]}"

# read a line from its output
read line <&"${COPROC[0]}"

# show the line
echo "$line"

The output is “Hello World”.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents