1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Added -Wait flag to Start-Process

Must wait in order for script to be available
This commit is contained in:
Don Schenck 2014-06-19 13:22:52 -05:00 committed by Matt Martz
parent 9c4220832a
commit 618b47cd77

View file

@ -79,4 +79,4 @@ else
$FileName = $DownLoadUrl.Split('/')[-1]
download-file $downloadurl "$powershellpath\$filename"
Start-Process -FilePath "$powershellpath\$filename /quiet" -WindowStyle Hidden
Start-Process -FilePath $powershellpath\$filename -WindowStyle Hidden -Wait