Skip to content

Commit

Permalink
Update process_handler.ml
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jun 12, 2022
1 parent 5adf8a6 commit 019a4f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/tools/process_handler.ml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ let open_process cmd env =
{ stdin; stdout; stderr }

let close_process { stdout; stdin; stderr } =
(* See: https://github.com/ocaml/ocaml/issues/11289 *)
Gc.full_major ();
try Unix.close_process_full (stdout, stdin, stderr)
with Unix.Unix_error (Unix.ECHILD, _, _) -> Unix.WEXITED 0

Expand Down

0 comments on commit 019a4f5

Please sign in to comment.