Files
claude-code/scripts/run-parallel.mjs
2026-04-17 09:51:59 +08:00

11 lines
237 B
JavaScript

import { spawn } from "node:child_process"
const scripts = process.argv.slice(2)
if (scripts.length === 0) {
process.exit(0)
}
for (const script of scripts) {
spawn(process.execPath, [script], { stdio: "inherit", shell: false })
}