fix(macp): use sh instead of bash in gate-runner — Alpine Linux compatibility
This commit is contained in:
@@ -43,7 +43,7 @@ export function runShell(
|
|||||||
let timedOut = false;
|
let timedOut = false;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const result = spawnSync('bash', ['-lc', command], {
|
const result = spawnSync('sh', ['-c', command], {
|
||||||
cwd,
|
cwd,
|
||||||
timeout: Math.max(1, timeoutSec) * 1000,
|
timeout: Math.max(1, timeoutSec) * 1000,
|
||||||
encoding: 'utf-8',
|
encoding: 'utf-8',
|
||||||
|
|||||||
Reference in New Issue
Block a user