Files
claude-code/scripts/run-parallel.mjs
2026-05-01 21:39:30 +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 })
}