Blame test/clos1way5.awk

Packit 575503
BEGIN {
Packit 575503
	# We use "&&" and not ";" so it works with Windows shells as well.
Packit 575503
	cmd = "echo test1&& echo test2&& sleep 2"
Packit 575503
	cmd |& getline x
Packit 575503
	print x
Packit 575503
	close(cmd, "from")
Packit 575503
	cmd |& getline x
Packit 575503
	print x
Packit 575503
	print ERRNO
Packit 575503
}