mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-03-24 00:13:48 +08:00
14 lines
349 B
PowerShell
14 lines
349 B
PowerShell
param(
|
|
[string]$Command = $null
|
|
)
|
|
|
|
if ([string]::IsNullOrEmpty($Command)) {
|
|
throw "\$Command parameter is required."
|
|
}
|
|
|
|
. $PSScriptRoot\copilotShared.ps1
|
|
$cdbpath = GetCDBPath
|
|
$commandLine = "echo .remote_exit | `"$($cdbpath)`" -remote npipe:server=.,pipe=VlppUnitTest -clines 0 -c `"$Command`""
|
|
echo $commandLine
|
|
cmd.exe /S /C $commandLine
|