(target, args)
| 26 | } |
| 27 | |
| 28 | function run(target, args) { |
| 29 | ensureExecutable(target); |
| 30 | const result = childProcess.spawnSync(target, args, { |
| 31 | stdio: "inherit", |
| 32 | env: process.env, |
| 33 | }); |
| 34 | |
| 35 | if (result.error) { |
| 36 | console.error(result.error.message); |
| 37 | process.exit(1); |
| 38 | } |
| 39 | |
| 40 | process.exit(typeof result.status === "number" ? result.status : 1); |
| 41 | } |
| 42 | |
| 43 | function hostCandidates() { |
| 44 | const platformMap = { |
no test coverage detected