VcpkgInvokeCommand: return the error code

This commit is contained in:
Alexander Karatarakis 2018-01-25 14:57:26 -08:00
parent a8a20f1a13
commit 89addaa7a5

View File

@ -174,6 +174,7 @@ function vcpkgInvokeCommand()
Wait-Process -InputObject $process
$ec = $process.ExitCode
Write-Verbose "Execution terminated with exit code $ec."
return $ec
}
function vcpkgInvokeCommandClean()
@ -193,4 +194,5 @@ function vcpkgInvokeCommandClean()
Wait-Process -InputObject $process
$ec = $process.ExitCode
Write-Verbose "Execution terminated with exit code $ec."
return $ec
}