diff options
author | Don Schenck <don.schenck@gmail.com> | 2014-06-19 13:22:52 -0500 |
---|---|---|
committer | Matt Martz <matt@sivel.net> | 2014-06-19 14:26:48 -0500 |
commit | 618b47cd77190656dc822a1c4b50b1414455ee43 (patch) | |
tree | 6b466fdaf043ac626db8dbe4e3f92aabc9e14eff /examples | |
parent | 9c4220832a7f374e106c0b4304c0b662cda5a9c9 (diff) | |
download | ansible-618b47cd77190656dc822a1c4b50b1414455ee43.tar.gz |
Added -Wait flag to Start-Process
Must wait in order for script to be available
Diffstat (limited to 'examples')
-rw-r--r-- | examples/scripts/upgrade_to_ps3.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scripts/upgrade_to_ps3.ps1 b/examples/scripts/upgrade_to_ps3.ps1 index af341d8eef..1e1c1e3305 100644 --- a/examples/scripts/upgrade_to_ps3.ps1 +++ b/examples/scripts/upgrade_to_ps3.ps1 @@ -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 |