Use sh under BSD systems

This commit is contained in:
abishai 2026-04-06 22:17:15 +00:00 committed by GitHub
parent 10d9f81a92
commit 443155a64e
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)
}
}