mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:40:44 +00:00
ci: preserve docker test runner path
This commit is contained in:
@@ -823,7 +823,7 @@ function dockerPreflightContainerNames(raw) {
|
||||
|
||||
function runShellCommand({ command, env, label, logFile, timeoutMs }) {
|
||||
return new Promise((resolve) => {
|
||||
const child = spawn("bash", ["-lc", command], {
|
||||
const child = spawn("bash", ["-c", command], {
|
||||
cwd: ROOT_DIR,
|
||||
detached: process.platform !== "win32",
|
||||
env,
|
||||
@@ -875,7 +875,7 @@ function runShellCommand({ command, env, label, logFile, timeoutMs }) {
|
||||
|
||||
function runShellCaptureCommand({ command, env, label, timeoutMs }) {
|
||||
return new Promise((resolve) => {
|
||||
const child = spawn("bash", ["-lc", command], {
|
||||
const child = spawn("bash", ["-c", command], {
|
||||
cwd: ROOT_DIR,
|
||||
detached: process.platform !== "win32",
|
||||
env,
|
||||
|
||||
Reference in New Issue
Block a user