my $pid = open3(\*IN,\*OUT, 0, "/bin/bash -c $cmd");