我有一个名为 oneclick.bat 的控制器批处理文件,代码如下:
rem batch controller
rem wait for email input for ssh key generation...
rem call copyEnv.bat
call generateSshKey.bat %1
call gitClone.bat
在 generateSshKey.bat 中,我像这样启动一个 powershell 脚本:
rem make sure powershell is able to run
powershell.exe set-executionpolicy remotesigned
rem start powershell and add ssh key to the server by ui aotumation
powershell.exe -noe -file SetSSHKeytoServer.ps1
然后 gitClone.bat 没有在命令窗口中运行
我怎样才能让 gitClone.bat 运行?