res*_*sgh 0 powershell synchronization block
当您调用外部.exe命令时,如何使PowerShell阻塞直到外部结束?
Start-Process
与-Wait
参数一起使用.
Start-Process -FilePath ipconfig.exe -ArgumentList '/?' -Wait;
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
102 次 |
最近记录: |