fix: use sh under BSD systems (#1208)
Some checks failed
Build / Build (push) Has been cancelled
Build / Verify Plugin (push) Has been cancelled

This commit is contained in:
abishai 2026-04-07 10:46:12 +00:00 committed by GitHub
parent 10d9f81a92
commit b4daa8a894
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -565,7 +565,7 @@ class BashTool(
?: "C:\\Windows"
listOf("$systemRoot\\System32\\cmd.exe", "/c", command)
}
osName.contains("bsd") -> listOf("sh", "-c", command)
else -> listOf("bash", "-c", command)
}
}