📌  相关文章
📜  powershell 启动一个进程并等待它完成 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:09.996000             🧑  作者: Mango

代码示例1
$proc = Start-Process -Wait -FilePath $procPath -ArgumentList $argument
do{sleep 1}while(Get-Process -Name $procName -ErrorAction SilentlyContinue)