10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-07-25 04:07:23 +02: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;
(* Wait for the qmc process to complete *)
ignore (Watchdog.join ());
terminate ()
try
ignore (Watchdog.join ());
terminate ()
with
| error ->
begin
terminate ();
raise error
end