File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,13 @@ let failed_annon ~rev_args =
53
53
54
54
(* * Invariant: it has to be the last command of [bsb] *)
55
55
let exec_command_then_exit (type t ) (command : string ) : t =
56
+ print_endline " exec_command_then_exit" ;
57
+ print_endline command;
56
58
Bsb_log. info " @{<info>CMD:@} %s@." command;
57
- exit (Sys. command command)
59
+ print_endline " exec_command_then_exit 2" ;
60
+ let ret = Sys. command command in
61
+ print_endline " exec_command_then_exit 3" ;
62
+ exit ret
58
63
59
64
(* Execute the underlying ninja build call, then exit (as opposed to keep watching) *)
60
65
let ninja_command_exit (type t ) (ninja_args : string array ) : t =
Original file line number Diff line number Diff line change @@ -15185,8 +15185,13 @@ let failed_annon ~rev_args =
15185
15185
15186
15186
(** Invariant: it has to be the last command of [bsb] *)
15187
15187
let exec_command_then_exit (type t) (command : string) : t =
15188
+ print_endline "exec_command_then_exit";
15189
+ print_endline command;
15188
15190
Bsb_log.info "@{<info>CMD:@} %s@." command;
15189
- exit (Sys.command command)
15191
+ print_endline "exec_command_then_exit 2";
15192
+ let ret = Sys.command command in
15193
+ print_endline "exec_command_then_exit 3";
15194
+ exit ret
15190
15195
15191
15196
(* Execute the underlying ninja build call, then exit (as opposed to keep watching) *)
15192
15197
let ninja_command_exit (type t) (ninja_args : string array) : t =
You can’t perform that action at this time.
0 commit comments