From 9717446b9678854d856c554841d8e65d68ecb90e Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 13 Jan 2012 07:51:16 +0000 Subject: [PATCH] fine tuning --- Fltk/onelabWindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp index 3f86d90740..8cf379d310 100644 --- a/Fltk/onelabWindow.cpp +++ b/Fltk/onelabWindow.cpp @@ -118,11 +118,15 @@ bool onelab::localNetworkClient::run() std::string action = (ps.empty() ? "" : ps[0].getValue()); get(ps, getName() + "/1ModelName"); std::string modelName = (ps.empty() ? "" : ps[0].getValue()); + get(ps, getName() + "/9InitializeCommand"); + std::string initializeCommand = (ps.empty() ? "" : ps[0].getValue()); get(ps, getName() + "/9CheckCommand"); std::string checkCommand = (ps.empty() ? "" : ps[0].getValue()); get(ps, getName() + "/9ComputeCommand"); std::string computeCommand = (ps.empty() ? "" : ps[0].getValue()); - if(action == "check") + if(action == "initialize") + command += " " + modelName + " " + initializeCommand; + else if(action == "check") command += " " + modelName + " " + checkCommand; else if(action == "compute") command += " " + modelName + " " + computeCommand; -- GitLab