run-command: don't die in child when duping /dev/null