10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-12-22 12:23:30 +01:00

Try except to clean tmpdir

This commit is contained in:
Anthony Scemama 2016-03-03 13:39:06 +01:00
parent 517fd0898c
commit 453a29d607

View File

@ -465,6 +465,13 @@ let run ezfio_filename dataserver =
end; end;
(* Wait for the qmc process to complete *) (* Wait for the qmc process to complete *)
try
ignore (Watchdog.join ()); ignore (Watchdog.join ());
terminate () terminate ()
with
| error ->
begin
terminate ();
raise error
end