From 02651ba8c1b79dd09d595a813ad868c6e9dab5eb 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..960c8944 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