File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1020,7 +1020,8 @@ jobs:
1020
1020
- name : Run PEDM simulator (LocalSystem test)
1021
1021
run : |
1022
1022
$scriptPath = Resolve-Path -Path "./crates/pedm-simulator/run-expect-elevated.ps1"
1023
- psexec -accepteula -i -s pwsh.exe $scriptPath
1023
+ psexec -accepteula -s pwsh.exe $scriptPath
1024
+ Get-Content -Path ./crates/pedm-simulator/pedm-simulator.out
1024
1025
1025
1026
success :
1026
1027
name : Success
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ $exitCode = 0
8
8
9
9
try {
10
10
$Env: PEDM_SIMULATOR_EXPECT_ELEVATION = ' 1'
11
- & ./ artifacts/ pedm-simulator.exe
11
+ & ./ artifacts/ pedm-simulator.exe 2>&1 | Out-File . / pedm - simulator.out
12
12
$exitCode = $LASTEXITCODE
13
13
} finally {
14
14
Pop-Location
You can’t perform that action at this time.
0 commit comments