mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 03:38:41 +08:00
build: support build on windows (#3956)
This commit is contained in:
parent
7349165300
commit
21e37b1900
@ -11,6 +11,7 @@ export const run = async (command: string, cwd: string = projRoot) =>
|
|||||||
const app = spawn(cmd, args, {
|
const app = spawn(cmd, args, {
|
||||||
cwd,
|
cwd,
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
|
shell: process.platform === 'win32',
|
||||||
})
|
})
|
||||||
|
|
||||||
const onProcessExit = () => app.kill('SIGHUP')
|
const onProcessExit = () => app.kill('SIGHUP')
|
||||||
|
Loading…
Reference in New Issue
Block a user