Stop leaking the /dev/null fd after spawning a subprocess.