Testing different loop condition
parent
e3eae5b07e
commit
9af2bcb3a6
|
@ -161,7 +161,7 @@ $process = Start-Process -FilePath "$Env:UNITY_PATH\Editor\Unity.exe" `
|
||||||
-PassThru `
|
-PassThru `
|
||||||
-NoNewWindow
|
-NoNewWindow
|
||||||
|
|
||||||
while (!$process.HasExited) {
|
while ($true) {
|
||||||
if ($process.HasExited) {
|
if ($process.HasExited) {
|
||||||
Start-Sleep -Seconds 5
|
Start-Sleep -Seconds 5
|
||||||
Get-Process
|
Get-Process
|
||||||
|
|
Loading…
Reference in New Issue