(command, args, env, { platform, stdio } = {})
| 258 | } |
| 259 | |
| 260 | export function spawnProcess(command, args, env, { platform, stdio } = {}) { |
| 261 | const spawnConfig = createSpawnConfig({ |
| 262 | command, |
| 263 | args, |
| 264 | cwd: EXAMPLE_DIR, |
| 265 | env, |
| 266 | platform, |
| 267 | stdio, |
| 268 | }) |
| 269 | |
| 270 | return spawn(spawnConfig.command, spawnConfig.args, spawnConfig.options) |
| 271 | } |
| 272 | |
| 273 | function killProcess(child) { |
| 274 | if (child.exitCode !== null || child.signalCode !== null) return |
no test coverage detected