fix: shell childExec

pull/401/head
starknt 2024-11-24 23:11:59 +08:00
parent f044c7997d
commit 5e596c4b11
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ class LinuxSystemShell extends SystemShell {
cmds = [cmds]
}
for (const cmd of cmds) {
await _childExec(cmd, { shell: '/bin/bash' })
await childExec(cmd, { shell: '/bin/bash' })
}
}
}
@ -30,7 +30,7 @@ class DarwinSystemShell extends SystemShell {
}
let ret
for (const cmd of cmds) {
ret = await _childExec(cmd)
ret = await childExec(cmd)
}
return ret
}