Merge pull request #103 from bucolucas/debug-ps1-process-output
Add process details output for debugging
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user