1 2 3 4 5 6 7
BEGIN { cmd = "cat - 1>&2; sleep 2" print "test1" |& cmd close(cmd, "to") print "test2" |& cmd print ERRNO }