mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
vcpkgInvokeCommand(): Add -NoNewWindows flag
This commit is contained in:
parent
ae582e0d4f
commit
62c8626f4d
@ -171,7 +171,7 @@ function vcpkgInvokeCommand()
|
||||
[switch]$wait)
|
||||
|
||||
Write-Verbose "Executing: ${executable} ${arguments}"
|
||||
$process = Start-Process -FilePath $executable -ArgumentList $arguments -PassThru
|
||||
$process = Start-Process -FilePath $executable -ArgumentList $arguments -PassThru -NoNewWindow
|
||||
if ($wait)
|
||||
{
|
||||
Wait-Process -InputObject $process
|
||||
|
Loading…
x
Reference in New Issue
Block a user