Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semi-synchronous verbose mode #1915

Merged
merged 1 commit into from
Dec 20, 2014
Merged

Semi-synchronous verbose mode #1915

merged 1 commit into from
Dec 20, 2014

Conversation

AltGr
Copy link
Member

@AltGr AltGr commented Dec 20, 2014

As soon as there is just one sub-process running, in verbose mode, show its
output every second.

Closes #1913 This uses a SIGALRM to stop the wait at regular intervals --
disabled on Windows.

As soon as there is just one sub-process running, in verbose mode, show
its output every second.

Closes ocaml#1913
This uses a SIGALRM to stop the wait at regular intervals -- disabled on Windows.
AltGr added a commit that referenced this pull request Dec 20, 2014
@AltGr AltGr merged commit c22e5b3 into ocaml:master Dec 20, 2014
@samoht
Copy link
Member

samoht commented Dec 20, 2014

Not sure it's really simpler and more portable than tee but it works well. Thanks!

@AltGr
Copy link
Member Author

AltGr commented Dec 26, 2014

Well it has several merits, mainly, we retain control of all output from OCaml code in OPAM. For example, it's possible to start printing the output synchronously as soon as there is a single process left running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

opam install --verbose should not buffer command outputs
2 participants