我想要做的是打开默认Shell,然后调用另一个Shell并在其中执行命令。
尝试以下命令:
c:/Windows/System32/bash.exe -c "zsh & zstyle"
或者
cmd /k "c:/Windows/System32/bash.exe -c zsh" & zstyle - 这会打开Shell但不会运行命令
或者
c:/Windows/System32/bash.exe -c "zsh -c 'zstyle'"
我目前正在使用cmder/conemu终端来运行Windows。
尝试以下命令:
c:/Windows/System32/bash.exe -c "zsh & zstyle"
或者
cmd /k "c:/Windows/System32/bash.exe -c zsh" & zstyle - 这会打开Shell但不会运行命令
或者
c:/Windows/System32/bash.exe -c "zsh -c 'zstyle'"
我目前正在使用cmder/conemu终端来运行Windows。