(env: NodeJS.ProcessEnv)
| 225 | } |
| 226 | |
| 227 | private async startDaemon(env: NodeJS.ProcessEnv): Promise<void> { |
| 228 | const [cmd, ...baseArgs] = getEmbedCommand({ |
| 229 | embedVersion: this.embedVersion, |
| 230 | embedPackagePath: this.embedPackagePath, |
| 231 | }); |
| 232 | const args = [ |
| 233 | ...baseArgs, |
| 234 | "daemon", |
| 235 | "--profile", |
| 236 | this.profile, |
| 237 | "start", |
| 238 | ...this.extraDaemonStartArgs, |
| 239 | ]; |
| 240 | |
| 241 | await this.runCommand(cmd, args, env, "daemon.start"); |
| 242 | } |
| 243 | |
| 244 | /** |
| 245 | * Spawn `cmd` with `args`, pipe its output through the logger, and resolve |
no test coverage detected