Files
EetCpp/scripts/eet-playground.ps1
T

11 lines
309 B
PowerShell

param(
[Parameter(Mandatory = $true, Position = 0)]
[string]$Command,
[Parameter(ValueFromRemainingArguments = $true)]
[string[]]$Arguments
)
$playground = if ($env:EETCPP_PLAYGROUND) { $env:EETCPP_PLAYGROUND } else { "EetCppPlayground" }
& $playground $Command @Arguments
exit $LASTEXITCODE