Can optionally pass in a logger object, and keep_fds when None closes nothing