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

pp

parent 6af64fad
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ void ConnectionManager::kill()
{
if(_pid > 0) {
if(KillProcess(_pid))
Msg::Info("Killed %s pid %d", name.c_str(), _pid);
Msg::Info("Killed '%s' (pid %d)", name.c_str(), _pid);
}
_pid = -1;
}
......@@ -252,8 +252,10 @@ int GmshFLTK(int argc, char **argv)
drawContext::global()->draw();
// listen to external solvers
if(CTX::instance()->solver.listen)
if(CTX::instance()->solver.listen){
ConnectionManager::get(-1)->name = "unknown";
ConnectionManager::get(-1)->run("");
}
// loop
return FlGui::instance()->run();
......
......@@ -365,7 +365,7 @@ class GmshServer : public GmshSocket{
}
if(command && strlen(command)){
SystemCall(command); // Start the solver
SystemCall(command); // start the solver
}
else{
timeout = 0.; // no command launched: don't set a timeout
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment