- // runner.command.RunCommand() doesn't have access to
- // ctx, so it can't shut down by itself when the
- // caller cancels. We just abandon it.
- exitcode := runner.command.RunCommand(runner.name, []string{"-config", boot.configfile}, bytes.NewBuffer(nil), boot.Stderr, boot.Stderr)
- fail(fmt.Errorf("exit code %d", exitcode))
+ var u arvados.URL
+ for u = range runner.svc.InternalURLs {
+ }
+ fail(boot.RunProgram(ctx, boot.tempdir, nil, []string{"ARVADOS_SERVICE_INTERNAL_URL=" + u.String()}, "arvados-server", runner.name, "-config", boot.configfile))