(root)/
gawk-5.2.2/
test/
clos1way5.awk
BEGIN {
	# We use "&&" and not ";" so it works with Windows shells as well.
	cmd = "echo test1&& echo test2&& sleep 2"
	cmd |& getline x
	print x
	close(cmd, "from")
	cmd |& getline x
	print x
	print ERRNO
}