зеркало из https://github.com/microsoft/lisa.git
Change bash into sh to fix that bash is not installed in some FreeBSD distro by default. (#1132)
This commit is contained in:
Родитель
bc82ac9e52
Коммит
2b14e90272
|
@ -72,7 +72,7 @@ class Process:
|
|||
command = f"{command}"
|
||||
if shell:
|
||||
if self._is_linux:
|
||||
split_command = ["bash", "-c"]
|
||||
split_command = ["sh", "-c"]
|
||||
else:
|
||||
split_command = ["cmd", "/c"]
|
||||
split_command.append(command)
|
||||
|
|
Загрузка…
Ссылка в новой задаче