Skip to content

Commit c76eeec

Browse files
committed
wip
1 parent ef7c7a4 commit c76eeec

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

scripts/app-test.ps1

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -335,13 +335,14 @@ function Run-Command {
335335
}
336336

337337
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-
}
338+
Invoke-Expression $Command 2>&1
339+
## Execute the command and capture the output
340+
#$CommandOutput = Invoke-Expression "$Command 2>&1" | ForEach-Object {
341+
# # Write each line to the console immediately
342+
# Write-Output $_
343+
# # Add it to the result output
344+
# $_
345+
#}
345346

346347
$result.Output = $CommandOutput
347348

0 commit comments

Comments
 (0)