Skip to content
Snippets Groups Projects
Commit d0176036 authored by Francois Henrotte's avatar Francois Henrotte
Browse files

deplacement de la somme +sockname -> GmshServer::Start()

parent 06c6c22a
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment