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

onelab

parent e5c3090e
No related branches found
No related tags found
No related merge requests found
...@@ -269,9 +269,10 @@ void onelab_cb(Fl_Widget *w, void *data) ...@@ -269,9 +269,10 @@ void onelab_cb(Fl_Widget *w, void *data)
c->run(what); c->run(what);
} }
else if(action == "compute"){ else if(action == "compute"){
// FIXME we should define a string (invisible param) in the db // get command line from the server
// that stores this information std::vector<onelab::string> ps;
if(c->getName() == "GetDP") what += " -solve -pos"; onelab::server::instance()->get(ps, c->getName() + "/9Compute");
if(ps.size()) what += " " + ps[0].getValue();
c->run(what); c->run(what);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment