Skip to content
Snippets Groups Projects
Commit 58a3d2bb authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

don't create gui!

parent 47671145
Branches
Tags
No related merge requests found
......@@ -576,12 +576,12 @@ int SystemCallExe(const std::string &exe, const std::string &argsOrCommand,
return 1;
}
if(!blocking) cmd += " &";
#if defined(HAVE_FLTK)
FlGui::instance()->lock();
#if defined(HAVE_FLTK) // FIXME: remove
if(FlGui::available()) FlGui::instance()->lock();
#endif
Msg::Info("Calling '%s'", cmd.c_str());
#if defined(HAVE_FLTK)
FlGui::instance()->unlock();
#if defined(HAVE_FLTK) // FIXME: remove
if(FlGui::available()) FlGui::instance()->unlock();
#endif
if(!system(cmd.c_str())) return 1;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment