Skip to content

Commit

Permalink
Merge pull request #4940 from rjbou/win-proc
Browse files Browse the repository at this point in the history
Windows: remove double printing on commands and their output
  • Loading branch information
rjbou authored Dec 17, 2021
2 parents c4e9762 + bbf3132 commit df82a83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ users)
* Bump version to 2.2.0~alpha~dev [#4725 @dra27]
* Add specific comparison function on several module (that includes `OpamStd.ABSTRACT`) [#4918 @rjbou]
* Homogeneise is_archive tar & zip: if file exists check magic number, otherwise check extension [#4964 @rjbou]
* [BUG] Remove windows double printing on commands and their output [#4940 @rjbou]

## Internal: Windows
* Support MSYS2: treat MSYS2 and Cygwin as equivalent [#4813 @jonahbeckford]
Expand Down
4 changes: 2 additions & 2 deletions src/core/opamProcess.ml
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,8 @@ let exit_status p return =
if isset_verbose_f () then
stop_verbose_f ()
else if p.p_verbose then
(verbose_print_cmd p;
List.iter verbose_print_out stdout;
(List.iter verbose_print_out stdout;
if p.p_stdout <> p.p_stderr then
List.iter verbose_print_out stderr;
flush OpamCompat.Stdlib.stdout);
let info =
Expand Down

0 comments on commit df82a83

Please sign in to comment.