Commit 2d0d2373 authored by Volker Hilsheimer's avatar Volker Hilsheimer
Browse files

Throttle and flush output redirection

parent 33aa2af3
......@@ -172,8 +172,10 @@ for ($i = 0; $i -lt $repeat; $i++) {
$handle = $process.Handle # cache so that we can get the exit code
do {
Repeat-Output $stdout $stderr
Start-Sleep -Milliseconds 50
} while (!$process.HasExited)
Repeat-Output $stdout $stderr
$exit_code = $process.ExitCode
if ($verbose) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment