We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef7c7a4 commit c76eeecCopy full SHA for c76eeec
scripts/app-test.ps1
@@ -335,13 +335,14 @@ function Run-Command {
335
}
336
337
try {
338
- # Execute the command and capture the output
339
- $CommandOutput = Invoke-Expression "$Command 2>&1" | ForEach-Object {
340
- # Write each line to the console immediately
341
- #Write-Output $_
342
- # Add it to the result output
343
- $_
344
- }
+ Invoke-Expression $Command 2>&1
+ ## Execute the command and capture the output
+ #$CommandOutput = Invoke-Expression "$Command 2>&1" | ForEach-Object {
+ # # Write each line to the console immediately
+ # Write-Output $_
+ # # Add it to the result output
+ # $_
345
+ #}
346
347
$result.Output = $CommandOutput
348
0 commit comments