my $pid=open3(\*WRITE, \*READ, \*ERROR, '/bin/bash'); print WRITE $cmd;