

























@@ -823,7 +823,7 @@ function dockerPreflightContainerNames(raw) {
823823824824function runShellCommand({ command, env, label, logFile, timeoutMs }) {
825825return new Promise((resolve) => {
826-const child = spawn("bash", ["-lc", command], {
826+const child = spawn("bash", ["-c", command], {
827827cwd: ROOT_DIR,
828828detached: process.platform !== "win32",
829829 env,
@@ -875,7 +875,7 @@ function runShellCommand({ command, env, label, logFile, timeoutMs }) {
875875876876function runShellCaptureCommand({ command, env, label, timeoutMs }) {
877877return new Promise((resolve) => {
878-const child = spawn("bash", ["-lc", command], {
878+const child = spawn("bash", ["-c", command], {
879879cwd: ROOT_DIR,
880880detached: process.platform !== "win32",
881881 env,
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。