$! = undef; $pid=open3($WRITE, $READ, $ERROR, "$command"); if (length $!) { $error="Error, Could not execute $command: $!"; } else {