fix: 修复 linux 端的安装问题
This commit is contained in:
parent
5ed0fa572c
commit
2074f6463f
10
scripts/run-parallel.mjs
Normal file
10
scripts/run-parallel.mjs
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
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 })
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user