0
我是Powerhell的新手。 如何告诉powershell不执行下一个命令,直到exe安装完成?如何在exe安装完成之前告诉powershell不执行net命令?
尝试在两个命令下面,但dint帮助。 1.启动进程-NoNewWindow的-Wait 2. ./example.exe -NoNewWindow -Wait
我是Powerhell的新手。 如何告诉powershell不执行下一个命令,直到exe安装完成?如何在exe安装完成之前告诉powershell不执行net命令?
尝试在两个命令下面,但dint帮助。 1.启动进程-NoNewWindow的-Wait 2. ./example.exe -NoNewWindow -Wait
重复:
How to tell PowerShell to wait for each command to end before starting the next?
Run an application with PowerShell and wait until it is finished
商店周围下次在你问之前,尝试其中的任何一种,并考虑删除你的问题,如果有任何解决您的问题
可能重复的[如何让PowerShell等待每个命令在开始下一个之前结束?](http://stackoverflow.com/questions/1741490/how-to-tell-powershell-to-wait-for-每个指令到终端-之前起动最下) – ShaneC 2015-02-10 14:04:12