Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Keith Kyzivat
minicoin
Commits
2d0d2373
Commit
2d0d2373
authored
Mar 08, 2021
by
Volker Hilsheimer
Browse files
Throttle and flush output redirection
parent
33aa2af3
Changes
1
Hide whitespace changes
Inline
Side-by-side
minicoin/util/run_helper.ps1
View file @
2d0d2373
...
...
@@ -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)
$process
.WaitForExit()
Repeat-Output
$stdout
$stderr
$exit_code
=
$process
.ExitCode
if (
$verbose
) {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment