57 std::string temp(newValues);
58 unsigned int i=temp.find_first_not_of (
'"');
59 if (i != std::string::npos)
61 if (i>0) temp = temp.substr (i);
62 i = temp.find_last_not_of (
'"');
63 if (i < temp.size ()) temp = temp.substr (0, i + 1);
67 else if (command==echo)
69 std::string temp(newValues);
70 unsigned int i=temp.find_first_not_of (
'"');
71 if (i != std::string::npos)
73 if (i>0) temp = temp.substr (i);
74 i = temp.find_last_not_of (
'"');
75 if (i < temp.size ()) temp = temp.substr (0, i + 1);
79 else if (command==quit)
81 G4UImanager *man=G4UImanager::GetUIpointer();
82 man->ApplyCommand(
"/exit");
84 else if (command==edit)
86 std::string
s=
"$GOOFY_EDITOR "+newValues+
" &";
89 else if (command==load)
91 PackageLoader a(newValues.c_str());
93 else if (command==unload)
97 test=a.unload(newValues);