Merge pull request #103 from bucolucas/debug-ps1-process-output

Add process details output for debugging
This commit is contained in:
2024-08-20 12:57:12 -05:00
committed by GitHub
+1
View File
@@ -8,6 +8,7 @@ param(
function Run-PythonScript { function Run-PythonScript {
param($ScriptPath) param($ScriptPath)
$process = Start-Process -FilePath "python" -ArgumentList $ScriptPath -PassThru -Wait -NoNewWindow $process = Start-Process -FilePath "python" -ArgumentList $ScriptPath -PassThru -Wait -NoNewWindow
Write-Host "Process details: $($process | Format-List | Out-String)" # Added line
return $process.ExitCode return $process.ExitCode
} }