def _run_service(self, cmd, service_url=None):
        print('running cmd: {}'.format(cmd))
        if service_url is not None and self.is_up(service_url):
            return
        Popen_with_delayed_expansion(cmd, stdout=DEVNULL)
        if service_url is not None and not self.is_up(service_url, timeout=10):
            raise ServiceRunError("Failed to run service on {}.".format(service_url))
Runs a service with a specified shell cmd
dataset/ETHPy150Open box/ClusterRunner/app/client/service_runner.py/ServiceRunner._run_service