From 5e2d1096f4090378ca732edfa7dbf0e2b7ec54cc Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer <jpfeifer@gmx.de> Date: Thu, 25 Jan 2024 10:47:16 +0100 Subject: [PATCH] ModelTree.cc: Provide output in case of failure --- src/ModelTree.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ModelTree.cc b/src/ModelTree.cc index 41bed024..21be2002 100644 --- a/src/ModelTree.cc +++ b/src/ModelTree.cc @@ -1961,6 +1961,8 @@ ModelTree::initializeMEXCompilationWorkers(int numworkers, const filesystem::pat { lk.unlock(); int r {system(cmd.c_str())}; + if (r) + cout << cmd.c_str() << endl; lk.lock(); mex_compilation_ongoing.erase(output); if (r) -- GitLab