From 5ff81146b661ffe42e8b6a7798683895d2a52d80 Mon Sep 17 00:00:00 2001 From: Francois Henrotte <francois.henrotte@ulg.ac.be> Date: Wed, 9 May 2012 15:20:51 +0000 Subject: [PATCH] --- Fltk/onelabWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp index ba0bf761de..f96925bc13 100644 --- a/Fltk/onelabWindow.cpp +++ b/Fltk/onelabWindow.cpp @@ -204,10 +204,11 @@ bool onelab::localNetworkClient::run() std::string checkCommand = (ps.empty() ? "" : ps[0].getValue()); get(ps, getName() + "/9ComputeCommand"); std::string computeCommand = (ps.empty() ? "" : ps[0].getValue()); + if(modelName.size()) command.append(" \"" + modelName + "\""); if(action == "check") - command.append(" \"" + modelName + "\" " + checkCommand) ; + command.append(" "+checkCommand) ; else if(action == "compute") - command.append(" \"" + modelName + "\" " + computeCommand); + command.append(" "+computeCommand); } command.append(" " + getSocketSwitch() + " \"" + getName() + "\" %s"); } -- GitLab