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