aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-06-29 21:33:43 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-06-29 21:33:43 +0000
commit84b3747b2d28fbd94f68ddb05328674f592cb82f (patch)
tree4cfe3d993b9d13844a56158497c04ece63f53b8d
parentac7f047a00909fa1bdfbd3d28cb06060b1df42f2 (diff)
Capture erreur de create_process
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@536 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--scripts/coqc.ml43
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/coqc.ml4 b/scripts/coqc.ml4
index 7e70db6b4..5500903a9 100644
--- a/scripts/coqc.ml4
+++ b/scripts/coqc.ml4
@@ -88,6 +88,9 @@ let compile command args file =
if not !keep then Sys.remove tmpfile ;
match status with
| _, Unix.WEXITED 0 -> ()
+ | _, Unix.WEXITED 127 ->
+ Printf.printf "Cannot execute %s\n" command;
+ exit 1
| _, Unix.WEXITED c -> exit c
| _ -> exit 1
with _ ->