From d01760366acac8e1de3cf93b5c36f4a467d68072 Mon Sep 17 00:00:00 2001 From: Francois Henrotte <francois.henrotte@ulg.ac.be> Date: Fri, 4 Nov 2011 16:26:08 +0000 Subject: [PATCH] deplacement de la somme +sockname -> GmshServer::Start() --- Fltk/onelabWindow.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp index 1be4a1795d..eed0a3a4e0 100644 --- a/Fltk/onelabWindow.cpp +++ b/Fltk/onelabWindow.cpp @@ -93,16 +93,14 @@ bool onelab::localNetworkClient::run(const std::string &what) if(CTX::instance()->solver.socketName.size() && CTX::instance()->solver.socketName[0] == ':') tmp << GetHostName(); // prepend hostname if only the port number is given - tmp << CTX::instance()->solver.socketName << getId(); + //tmp << CTX::instance()->solver.socketName << getId(); + tmp << CTX::instance()->solver.socketName; sockname = tmp.str(); } std::string command = FixWindowsPath(_commandLine); if(command.size()){ - command += " " + what + " " + _socketSwitch + " " + sockname; -#if !defined(WIN32) - command += " &"; -#endif + command += " " + what + " " + _socketSwitch + " "; } else{ Msg::Info("Listening on socket '%s'", sockname.c_str()); -- GitLab