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:
parent
9c4220832a
commit
618b47cd77
1 changed files with 1 additions and 1 deletions
|
@ -79,4 +79,4 @@ else
|
||||||
$FileName = $DownLoadUrl.Split('/')[-1]
|
$FileName = $DownLoadUrl.Split('/')[-1]
|
||||||
download-file $downloadurl "$powershellpath\$filename"
|
download-file $downloadurl "$powershellpath\$filename"
|
||||||
|
|
||||||
Start-Process -FilePath "$powershellpath\$filename /quiet" -WindowStyle Hidden
|
Start-Process -FilePath $powershellpath\$filename -WindowStyle Hidden -Wait
|
||||||
|
|
Loading…
Reference in a new issue