Add process details output for debugging

This commit is contained in:
2024-08-20 12:56:55 -05:00
parent 1f51b2ebbf
commit 5d8529690f
+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
} }