89
88
cmd, stdin=devnull, stdout=logfile, stderr=logfile,
90
89
cwd=self.tempdir, preexec_fn=preexec_fn)
91
90
# TODO: Add check to see that it actually started up.
92
92
self.addCleanup(self._stop)
94
94
# Keep the logfile open so even if it's deleted we can read it