Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Check exit code after iex
  • Loading branch information
zooba committed Feb 27, 2024
commit 698c94103c6131d6e83c767dc9a37929b770857c
4 changes: 2 additions & 2 deletions windows-release/test-msi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $SetupArgs = "$SetupExe " + `
"${env:IncludeFreethreadedOpt}"
Write-Host "##[command]$SetupCmd"
iex $SetupCmd
if (!$?) { exit $LASTEXITCODE }
if ($LASTEXITCODE) { exit $LASTEXITCODE }

Write-Host "##[command]dir C:\Python"
dir C:\Python
Expand Down Expand Up @@ -89,4 +89,4 @@ Write-Host "##[section]Uninstall Python"
$UninstallCmd = "$(SetupExe) /passive /uninstall /log C:\Logs\uninstall\log.txt"
Write-Host "##[command]$UninstallCmd"
iex $UninstallCmd
if (!$?) { exit $LASTEXITCODE }
if ($LASTEXITCODE) { exit $LASTEXITCODE }