mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 21:13:04 +08:00
VcpkgInvokeCommand: return the error code
This commit is contained in:
parent
a8a20f1a13
commit
89addaa7a5
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user