Files
GacUI/.github/Scripts/copilotDebug_RunCommand.ps1
2026-03-19 06:21:35 -07:00

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