From 618b47cd77190656dc822a1c4b50b1414455ee43 Mon Sep 17 00:00:00 2001 From: Don Schenck Date: Thu, 19 Jun 2014 13:22:52 -0500 Subject: [PATCH] Added -Wait flag to Start-Process Must wait in order for script to be available --- examples/scripts/upgrade_to_ps3.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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