mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-17 03:57:27 +00:00
fix: use sh under BSD systems (#1208)
This commit is contained in:
parent
10d9f81a92
commit
b4daa8a894
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue