Help for this page
$pid = open(ERROR, "$cmd 2>&1 1>/dev/null |");
$pid = open(ERROR, "$cmd 1>/dev/null 2>&1 |");